-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71615/
-----------------------------------------------------------
Review request for ranger, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj,
Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja Polavarapu, and
Velmurugan Periasamy.
Bugs: RANGER-2618
https://issues.apache.org/jira/browse/RANGER-2618
Repository: ranger
Description
-------
When we try to delete a role associated with a ranger policy, the operation is
not allowed. Likewise, role edit for rolename change also should be restricted.
Reason:
Rolename edit is allowed and the ranger policy still exists with old rolename
reference. Policy enforcement happens as per old policy. Rolename change is not
taken into consideration during policy download.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/biz/RoleDBStore.java 9151a7209
Diff: https://reviews.apache.org/r/71615/diff/1/
Testing
-------
Tested on local vm whether rolename update is restricted if it exists in any
policy.
Thanks,
Nikhil P