You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/04/29 22:57:24 UTC
[jira] [Updated] (HIVE-6805) metastore api should consider
privileges to be case insensitive
[ https://issues.apache.org/jira/browse/HIVE-6805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-6805:
--------------------------------
Component/s: Authorization
> metastore api should consider privileges to be case insensitive
> ---------------------------------------------------------------
>
> Key: HIVE-6805
> URL: https://issues.apache.org/jira/browse/HIVE-6805
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
>
> Metastore api has some code that considers privileges to be case sensitive.
> This needs to be corrected.
> For example in ObjectStore.grantPrivileges, the following check does a case sensitive comparison -
> {code}
> for (String privilege : privs) {
> if (privSet.contains(privilege)) {
> throw new InvalidObjectException(privilege
> + " is already granted by " + grantor);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)