[
https://issues.apache.org/jira/browse/HIVE-6417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921294#comment-13921294
]
Ashutosh Chauhan commented on HIVE-6417:
----------------------------------------
Problem is both role creation and adding users in a role is governed by same
flag. We need to separate these two tasks such that they are governed by two
different flags. Patch forthcoming.
> sql std auth - new users in admin role config should get added
> --------------------------------------------------------------
>
> Key: HIVE-6417
> URL: https://issues.apache.org/jira/browse/HIVE-6417
> Project: Hive
> Issue Type: Sub-task
> Components: Authorization
> Reporter: Thejas M Nair
>
> if metastore is started with hive.users.in.admin.role=user1, then user1 is
> added admin role to metastore.
> If the value is changed to hive.users.in.admin.role=user2, then user2 should
> get added to the role in metastore. Right now, if the admin role exists, new
> users don't get added.
> A work-around is - user1 adding user2 to the admin role using grant role
> statement.
--
This message was sent by Atlassian JIRA
(v6.2#6252)