[
https://issues.apache.org/jira/browse/HIVE-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094349#comment-14094349
]
Thejas M Nair commented on HIVE-7648:
-------------------------------------
Note that the patch also includes changes in SQL std auth
(Operation2Privilege.java), to be able to specify the required privileges on
the specific object type as well.
> authorization api should provide table/db object for create table/dbname
> ------------------------------------------------------------------------
>
> Key: HIVE-7648
> URL: https://issues.apache.org/jira/browse/HIVE-7648
> Project: Hive
> Issue Type: Bug
> Components: Authorization
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Attachments: HIVE-7648.1.patch, HIVE-7648.2.patch, HIVE-7648.3.patch
>
>
> For create table, the Authorizer.checkPrivileges call provides only the
> database name. If the table name is passed, it will be possible for the
> authorization api implementation to appropriately set the permissions of the
> new table.
> Similarly, in case of create-database, the api call should provide database
> object for the database being created.
--
This message was sent by Atlassian JIRA
(v6.2#6252)