ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Review Request 69856: RANGER-2328: Time-based policies do not work correctly if access time is not set in the authorization request
Date Tue, 29 Jan 2019 20:12:32 GMT

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

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


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


Repository: ranger


Description
-------

Access authorization decision depends on the time of the access (which is retrieved from the
authorization request) when evaluating Time-based policies. If access time is not set in the
authorization request, current time should be used for evaluating access request.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/conditionevaluator/RangerScriptExecutionContext.java
c3ed240ac 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java
f8ca67e00 


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


Testing
-------

Tested with local VM


Thanks,

Abhay Kulkarni


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message