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

(Updated Jan. 14, 2025, 11:17 a.m.)


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 (updated)
-----

  security-admin/src/main/java/org/apache/ranger/biz/SecurityZoneDBStore.java 
547ed088e 
  security-admin/src/main/java/org/apache/ranger/rest/SecurityZoneREST.java 
668967505 


Diff: https://reviews.apache.org/r/75125/diff/2/

Changes: https://reviews.apache.org/r/75125/diff/1-2/


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