-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75339/
-----------------------------------------------------------

Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay 
Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, sanket 
shelar, Sailaja Polavarapu, and Velmurugan Periasamy.


Bugs: RANGER-4875
    https://issues.apache.org/jira/browse/RANGER-4875


Repository: ranger


Description
-------

Need to update the API - "/api/zones/{zoneId}/service-headers" introduce in 
RANGER-4533 with below :

Currently, the API returns all zones. Restrict this API to only users who are 
authorized to zone module.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/SecurityZoneDBStore.java 
4d829619b 
  security-admin/src/main/java/org/apache/ranger/rest/SecurityZoneREST.java 
3a010ceec 


Diff: https://reviews.apache.org/r/75339/diff/1/


Testing
-------

Tested and verified that the API is not accessible to users who do not have 
access to the zone module.


Thanks,

Rakesh Gupta

Reply via email to