[ 
https://issues.apache.org/jira/browse/RANGER-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167328#comment-17167328
 ] 

Madhan Neethiraj commented on RANGER-2932:
------------------------------------------

[~Shukla]  - what are the resources in security-zone 
*finance-zone-20200728123343* ? Specifically, is volume *volume-finance* 
included in security-zone *finance-zone-20200728123343*?

> [Ozone Ranger Plugin] Security Zones are not getting enforced during 
> Authorization
> ----------------------------------------------------------------------------------
>
>                 Key: RANGER-2932
>                 URL: https://issues.apache.org/jira/browse/RANGER-2932
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 2.1.0
>            Reporter: Abhishek Shukla
>            Priority: Major
>              Labels: ranger
>
> Observed that Security Zones for Ozone Plugin are not getting enforced, and 
> Ranger is relying on Non-Zone Policies for deciding the Access.
> Steps:
>  # Created a security zone *finance-zone-20200728123343* 
>  # There is no policy granting access to *volume-finance* in service 
> *finance-20200728123343* which is attached to the security zone created in 
> the 1st step.
>  # Create ozone volume *volume-finance* as a *hrt_21*  test user. [hrt_21 is 
> part of both users and finance groups]
> *Expected Result:* Volume creation should be denied as there is no policy 
> granting access in Zone attached service.
> *Actual Result:* Volume creation is successful using a Non-Zone policy 
> present [which provides access to hrt_21 test user]
>  
> Similar results are observed with multi-level resources [volume-bucket-key] 
> in the zone, where the zone policy is not honored instead it relies on the 
> Non-zone policy for deciding the access.
> Any inputs on how to debug this further?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to