[ https://issues.apache.org/jira/browse/HIVE-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-6127: -------------------------------- Component/s: SQLStandardAuthorization > SQL std auth - make role/user optional in grant/revoke statements > ----------------------------------------------------------------- > > Key: HIVE-6127 > URL: https://issues.apache.org/jira/browse/HIVE-6127 > Project: Hive > Issue Type: Sub-task > Components: Authorization, SQLStandardAuthorization > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Original Estimate: 24h > Remaining Estimate: 24h > > Follow up task of HIVE-5923. > Grant privilege and revoke privilege statements need to be changed to remove > the requirement to specify whether the grantee is a user or role. That is, > today Hive’s syntax is GRANT action ON [TABLE] table TO grantee where grantee > is USER|ROLE identifier. > If the keyword is not specified, hive will try to find role with that matches > the identifier, otherwise, it will assume it is a user. -- This message was sent by Atlassian JIRA (v6.2#6252)