-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73165/
-----------------------------------------------------------
Review request for ranger, Ankita Sinha, Dhaval Shah, Gautam Borad, Kishor
Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal,
Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-3168
https://issues.apache.org/jira/browse/RANGER-3168
Repository: ranger
Description
-------
Following GET API's should be accessible for other users.
GET API: /service/public/v2/api/servicedef/
GET API: /service/public/v2/api/servicedef/{id}
GET API: /service/public/v2/api/servicedef/name/{name}
If a user has permissions on the "Resource Based Policies" module, then he is
be able to view servicedef using Ranger-UI and therefore he should be able to
access servicedef using GET API- /service/public/v2/api/servicedef/
Diffs
-----
security-admin/src/main/java/org/apache/ranger/rest/PublicAPIsv2.java
19b93e67c
Diff: https://reviews.apache.org/r/73165/diff/1/
Testing
-------
1. User and Auditor can acess servicedef if they have permissions on the
"Resource Based Policies" module.
2. KeyAdmin and KMSAuditor users can only access KMS servicedef.
Thanks,
Mahesh Bandal