You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "gongyixuan (Jira)" <ji...@apache.org> on 2020/08/21 10:45:00 UTC

[jira] [Created] (HIVE-24055) Admin role do not have admin privilege when using hive client

gongyixuan created HIVE-24055:
---------------------------------

             Summary: Admin role do not have admin privilege when using hive client
                 Key: HIVE-24055
                 URL: https://issues.apache.org/jira/browse/HIVE-24055
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.3.2
         Environment: hive 2.3.2

centos 7
            Reporter: gongyixuan
         Attachments: image-2020-08-21-18-38-20-692.png, image-2020-08-21-18-43-00-677.png

When judge a user is a admin role or not ,the currentRoles not initialized correctly.  

User zdp is admin role , but not be included in currentRoles,making  isUserAdmin() return false.

!image-2020-08-21-18-43-00-677.png!



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