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

[jira] [Created] (RANGER-3354) Role based authorization in RangerHiveAuthorizer inconsistent within same session in beeline

Ramesh Mani created RANGER-3354:
-----------------------------------

             Summary: 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


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)