[
https://issues.apache.org/jira/browse/RANGER-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gautam Borad resolved RANGER-635.
---------------------------------
Resolution: Fixed
> delete an user and then add a new user with same id but with diffenent role
> creates user with old role
> ------------------------------------------------------------------------------------------------------
>
> Key: RANGER-635
> URL: https://issues.apache.org/jira/browse/RANGER-635
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 0.4.1, 0.5.1
> Reporter: Deepak Sharma
> Assignee: Gautam Borad
> Labels: ranger
>
> STR:
> ====
> 1. add an user from ranger UI having role ADMIN, let say ( testrangeruser)
> 2. then delete this user by making rest call
> 3. then add a new user with same username (testrangeruser) but with role USER
> ER:
> newly added user should have role USER
> AR:
> newly added user has role ADMIN
> since while deleting the user , for that user entry into the database is not
> removed it is still present in x_portal_user and x_portal_user_role table
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)