[
https://issues.apache.org/jira/browse/RANGER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Velmurugan Periasamy updated RANGER-2649:
-----------------------------------------
Fix Version/s: 2.1.0
> 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
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: RANGER-2649.patch
>
>
> 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)