-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62024/
-----------------------------------------------------------
(Updated Sept. 29, 2017, 7:12 a.m.)
Review request for ranger, Ankita Sinha, Fatima Khan, Gautam Borad, Mehul
Parikh, and Velmurugan Periasamy.
Changes
-------
Fix pmd violation and some clean.
Bugs: RANGER-1756
https://issues.apache.org/jira/browse/RANGER-1756
Repository: ranger
Description
-------
Handle role related restrictions for users having User role.
Diffs (updated)
-----
agents-common/src/main/java/org/apache/hadoop/security/SecureClientLogin.java
320a9a4
security-admin/src/main/java/org/apache/ranger/rest/XUserREST.java 739ea05
security-admin/src/main/webapp/scripts/utils/XAUtils.js ecf43ad
Diff: https://reviews.apache.org/r/62024/diff/5/
Changes: https://reviews.apache.org/r/62024/diff/4-5/
Testing
-------
Verified scenario's :
1. A user with ROLE_ADMIN able to see users which has USER_ROLE/ADMIN_ROLE.
2. A user with ROLE_KEYADMIN able to see users which has
USER_ROLE/KEYADMIN_ROLE.
3. A user with role ROLE_USER able to see only himself.
Thanks,
Nitin Galave