[
https://issues.apache.org/jira/browse/RANGER-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh Mani reassigned RANGER-3354:
-----------------------------------
Assignee: Ramesh Mani
> Role based authorization in RangerHiveAuthorizer inconsistent within same
> session in beeline
> --------------------------------------------------------------------------------------------
>
> Key: RANGER-3354
> URL: https://issues.apache.org/jira/browse/RANGER-3354
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 2.2.0
> Reporter: Ramesh Mani
> Assignee: Ramesh Mani
> Priority: Major
>
> Role based authorization in RangerHiveAuthorizer inconsistent within same
> session in beeline.
> 1.Create a db (vehicle) with hive user
> 2.create a user 'unixuser1' and make him admin from Ranger
> 3.login into beeline with unixuser1
> 4.create a role
> Create role unixrole1;
> 5.Run show role query
> 6.create a role
> Create role unixrole2;
> 7.create a access policy with create permission for the role unixrole2
> 8.Run create table query in same session created he will be denied
> create table vehicle.unixrole2(car_id int, car_name string, car_color string,
> car_price int);
> 9.Run show role query in same session
> 10.now again run create query in same session created now he will be allowed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)