-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73125/
-----------------------------------------------------------
Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan
Periasamy.
Bugs: RANGER-3122
https://issues.apache.org/jira/browse/RANGER-3122
Repository: ranger
Description
-------
Currently delegate-admin cannot be marked for specific permissions. It is
all-or-nothing for the permissions defined in resource policy. Ranger should
have ability for granting delegate-admin for specific permissions.
This patch fixes the following issue:
If a service-admin fetches policies for the service, then the returned list
contains multiple copies of the same policy.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java
63ad28199
security-admin/src/test/java/org/apache/ranger/rest/TestServiceREST.java
b67656e2e
Diff: https://reviews.apache.org/r/73125/diff/1/
Testing
-------
Tested with service-admin user to retrieve policies using cURL. Ensured that
the returned list contains only one copy of filtered policies.
Thanks,
Abhay Kulkarni