You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Alok Lal (JIRA)" <ji...@apache.org> on 2015/09/02 02:47:45 UTC

[jira] [Commented] (RANGER-632) Policy validation error messages produced by the server are not seen by the user

    [ https://issues.apache.org/jira/browse/RANGER-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726495#comment-14726495 ] 

Alok Lal commented on RANGER-632:
---------------------------------

These issues _partially_ block the port of this fix to 0.5 branch.  All of these above issues are to be ported from master to 0.5 branch.  Since they are on master work on master can begin.

> Policy validation error messages produced by the server are not seen by the user
> --------------------------------------------------------------------------------
>
>                 Key: RANGER-632
>                 URL: https://issues.apache.org/jira/browse/RANGER-632
>             Project: Ranger
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Alok Lal
>            Assignee: Gautam Borad
>            Priority: Critical
>             Fix For: 0.5.1, 0.6.0
>
>
> Policy creation or update triggers policy validation code, which produces user-friendly errors if policy fails a validation check.  The error messages are designed to help someone figure and fix out the cause of the error.  These error messages do show up when using REST API.  However, these are not show to the policy manager GUI user.  UI should try to show the errors to the user.  Note that validation can return multiple errors.  Ideally the UI should separate these out and show them to user so that it is clear to the user that multiple errors happened.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)