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 (Jira)" <ji...@apache.org> on 2021/03/23 21:57:00 UTC

[jira] [Comment Edited] (RANGER-3218) User getting denied even after having tag based policy

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

Abhay Kulkarni edited comment on RANGER-3218 at 3/23/21, 9:56 PM:
------------------------------------------------------------------

Patch is available at the review board:

[https://reviews.apache.org/r/73245/]

 

Additional patch:

https://reviews.apache.org/r/73250/


was (Author: abhayk):
Patch is available at the review board:

https://reviews.apache.org/r/73245/

> User getting denied even after having tag based policy
> ------------------------------------------------------
>
>                 Key: RANGER-3218
>                 URL: https://issues.apache.org/jira/browse/RANGER-3218
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Abhay Kulkarni
>            Assignee: Abhay Kulkarni
>            Priority: Major
>
> Steps
> 1.Created a database "vehicle1" with table "cars" and inserted some data into table with hive user.
> 2.Tried to access "vehicle1" with user 'unixuser1' which will be denied since policy is not there.
> select * from vehicle1.cars;
> 3.Created a tag "tag1" in Atlas and assigned to database (vehicle1)
> 4.Created a unzone policy for "tag1" in cm_tag and gave permission to "unixuser1".
> 5.Again tried to access the data with user 'unixuser1' but still it is getting denied after having policy for the resource.



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