Description
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.