ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Purbhe (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (RANGER-2617) Provide descriptive error message when role delete not allowed
Date Fri, 11 Oct 2019 11:06:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikhil Purbhe reassigned RANGER-2617:
-------------------------------------

    Assignee: Nikhil Purbhe

> Provide descriptive error message when role delete not allowed
> --------------------------------------------------------------
>
>                 Key: RANGER-2617
>                 URL: https://issues.apache.org/jira/browse/RANGER-2617
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: suja s
>            Assignee: Nikhil Purbhe
>            Priority: Minor
>
> Scenario:
> Create a role r1
> Create a ranger policy for role r1
> Try to delete role
> Role delete is not allowed as a policy exists with the specified role
> Response:
> {noformat}
> {"statusCode":1,"msgDesc":"XXRole can't be deleted","messageList":[{"name":"OPER_NOT_ALLOWED_FOR_STATE","rbKey":"xa.error.oper_not_allowed_for_state","message":"Operation
not allowed in current state","objectId":9}]}
> {noformat}
> Expected:
> Descriptive message with details on why the operation is not allowed



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message