You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Velmurugan Periasamy (Jira)" <ji...@apache.org> on 2019/10/17 14:16:00 UTC
[jira] [Updated] (RANGER-2617) Provide descriptive error message
when role delete not allowed
[ https://issues.apache.org/jira/browse/RANGER-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Velmurugan Periasamy updated RANGER-2617:
-----------------------------------------
Fix Version/s: 2.1.0
> 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
> Fix For: 2.1.0
>
>
> 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)