Dhaval B. SHAH created RANGER-2649:
--------------------------------------
Summary: Unix user doesn't get 'Admin' role when set through
assignment rules
Key: RANGER-2649
URL: https://issues.apache.org/jira/browse/RANGER-2649
Project: Ranger
Issue Type: Bug
Components: Ranger
Reporter: Dhaval B. SHAH
Assignee: Dhaval B. SHAH
h3. Reproduction
h4. Preconditions
* User sync source is set to Unix (ranger.usersync.source.impl.class set to
org.apache.ranger.unixusersync.process.UnixUserGroupBuilder)
* user2 is a unix user, and user2 is deleted in Ranger
h4. Steps
# Set ranger.usersync.group.based.role.assignment.rules to
ROLE_SYS_ADMIN:u:user2
# Restart Ranger
# In ranger admin page go to Settings -> Users/Groups. Look for user2, and
observe it has the role 'User'
# Restart Ranger again
# Repeat step 3. but this time observe that user2 has the role 'Admin'
h3. Expected behaviour
user2 should get 'Admin' role right after the first restart.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)