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 2020/07/13 21:58:34 UTC
Review Request 72674: RANGER-2858: 'show databases' gives permission
denied error,
even though the user has permissions on a few of the databases in security
zone policies - Part III
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72674/
-----------------------------------------------------------
Review request for ranger, Dineshkumar Yadav, Madhan Neethiraj, and Velmurugan Periasamy.
Bugs: RANGER-2858
https://issues.apache.org/jira/browse/RANGER-2858
Repository: ranger
Description
-------
Permission is granted for 'any' access for a non-empty resource if any policy in any security zone allows permission. Only the policies in the security zone for the accessed resource should be considered for authorization in such scenario.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java dbdb78048
Diff: https://reviews.apache.org/r/72674/diff/1/
Testing
-------
Tested for hive service, by exercising 'use <database>' command using beeline. Verified that only the policies in the security zone which contains resource <database> are evaluated for access.
Thanks,
Abhay Kulkarni
Re: Review Request 72674: RANGER-2858: 'show databases' gives
permission denied error,
even though the user has permissions on a few of the databases in security
zone policies - Part III
Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72674/#review221203
-----------------------------------------------------------
Ship it!
Ship It!
- Madhan Neethiraj
On July 13, 2020, 9:58 p.m., Abhay Kulkarni wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72674/
> -----------------------------------------------------------
>
> (Updated July 13, 2020, 9:58 p.m.)
>
>
> Review request for ranger, Dineshkumar Yadav, Madhan Neethiraj, and Velmurugan Periasamy.
>
>
> Bugs: RANGER-2858
> https://issues.apache.org/jira/browse/RANGER-2858
>
>
> Repository: ranger
>
>
> Description
> -------
>
> Permission is granted for 'any' access for a non-empty resource if any policy in any security zone allows permission. Only the policies in the security zone for the accessed resource should be considered for authorization in such scenario.
>
>
> Diffs
> -----
>
> agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java dbdb78048
>
>
> Diff: https://reviews.apache.org/r/72674/diff/1/
>
>
> Testing
> -------
>
> Tested for hive service, by exercising 'use <database>' command using beeline. Verified that only the policies in the security zone which contains resource <database> are evaluated for access.
>
>
> Thanks,
>
> Abhay Kulkarni
>
>