You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2021/11/09 10:29:00 UTC
[jira] [Updated] (RANGER-3509) update role fails for role admins
[ https://issues.apache.org/jira/browse/RANGER-3509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated RANGER-3509:
-------------------------------------
Attachment: RANGER-3509.patch
> update role fails for role admins
> ---------------------------------
>
> Key: RANGER-3509
> URL: https://issues.apache.org/jira/browse/RANGER-3509
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: RANGER-3509.patch
>
>
> Non-admin users designated as a role-admin in a role are unable to update the role. Here are the repro steps:
> # "user1" is a non-admin user in Ranger
> # Create role "role1" in Ranger and assign user "user1" as a role admin
> # Give user "user1" access to the user/permissions portion of the admin interface
> # Login as "user1"
> # go to 'Settings -> Users/Groups/Roles'
> # select tab 'Roles'
> # select role "role1"
> # Add a user (or a group or a role) to this role
> # Click 'Save' button
> Operation failed with the following error: "User does not have permission for this operation".
>
> Since 'user1' is designated as a role admin (in step #2 above), the user should be allowed to update the role.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)