You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhishek Shukla (Jira)" <ji...@apache.org> on 2020/07/29 16:08:00 UTC

[jira] [Updated] (RANGER-2932) [Ozone Ranger Plugin] Security Zones are not getting enforced during Authorization

     [ https://issues.apache.org/jira/browse/RANGER-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abhishek Shukla updated RANGER-2932:
------------------------------------
    Attachment: Finance Security Zone.png

> [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
>         Attachments: Finance Security Zone.png
>
>
> 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)