You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2018/04/24 19:58:05 UTC

Review Request 66782: Ensure that Access Request's context is completely set up when using RangerAuthContext

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

Review request for ranger, Madhan Neethiraj and Ramesh Mani.


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


Repository: ranger


Description
-------

RangerAuthContext implements, in principle, a read-only policy engine for consistent access evaluation when one access evaluation request from the component may be satisfied by component plugin using multiple calls on the policy engine API(s). Therefore, RangerAuthContext should initialize access request's context as completely as policy engine does.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessRequestImpl.java 5dcdd5979 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngine.java 085251a51 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java 7e157e76f 
  agents-common/src/main/java/org/apache/ranger/plugin/service/RangerAuthContext.java ef7194f1a 


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


Testing
-------

Tested with local VM.


Thanks,

Abhay Kulkarni


Re: Review Request 66782: Ensure that Access Request's context is completely set up when using RangerAuthContext

Posted by Ramesh Mani <rm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66782/#review201856
-----------------------------------------------------------


Ship it!




Ship It!

- Ramesh Mani


On April 24, 2018, 7:58 p.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66782/
> -----------------------------------------------------------
> 
> (Updated April 24, 2018, 7:58 p.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj and Ramesh Mani.
> 
> 
> Bugs: RANGER-2061
>     https://issues.apache.org/jira/browse/RANGER-2061
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RangerAuthContext implements, in principle, a read-only policy engine for consistent access evaluation when one access evaluation request from the component may be satisfied by component plugin using multiple calls on the policy engine API(s). Therefore, RangerAuthContext should initialize access request's context as completely as policy engine does.
> 
> 
> Diffs
> -----
> 
>   agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessRequestImpl.java 5dcdd5979 
>   agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngine.java 085251a51 
>   agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java 7e157e76f 
>   agents-common/src/main/java/org/apache/ranger/plugin/service/RangerAuthContext.java ef7194f1a 
> 
> 
> Diff: https://reviews.apache.org/r/66782/diff/1/
> 
> 
> Testing
> -------
> 
> Tested with local VM.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>