[ https://issues.apache.org/jira/browse/HIVE-7648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096028#comment-14096028 ]
Jason Dere commented on HIVE-7648: ---------------------------------- +1. Given all the q.out files updated this patch may need updating. > authorization check api should provide table for create table,drop/create > index, and db for create/switch db > ------------------------------------------------------------------------------------------------------------ > > 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. > For create and drop index, the underlying table information also should be > passed. > For "use db;" , the database information should be passed. -- This message was sent by Atlassian JIRA (v6.2#6252)