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

(Updated Dec. 6, 2022, 3:36 a.m.)


Review request for ranger, madhan, Madhan Neethiraj, Pradeep Agrawal, Ramesh 
Mani, and Velmurugan Periasamy.


Changes
-------

Addressed review comments.


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


Repository: ranger


Description
-------

Steps to reproduce :-

1. Make a POST request to the below mentioned API endpoint, using a policy json 
where isDenyAllElse flag is set true

/service/public/v2/api/policy/apply
2. Fetch the policy using the newly created policy id, and try to make a POST 
request to "/policy/apply" using the policy json obtained from the GET request. 
The request results in an error


Diffs (updated)
-----

  security-admin/src/main/java/org/apache/ranger/rest/ServiceREST.java 
9bccf1089 
  security-admin/src/main/java/org/apache/ranger/rest/ServiceRESTUtil.java 
b56fd3966 


Diff: https://reviews.apache.org/r/74229/diff/3/

Changes: https://reviews.apache.org/r/74229/diff/2-3/


Testing
-------

Tested per the steps listed above. No error was reported and the policy was 
applied correctly


Thanks,

Abhay Kulkarni

Reply via email to