Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA7E311ACC for ; Tue, 12 Aug 2014 17:27:13 +0000 (UTC) Received: (qmail 38452 invoked by uid 500); 12 Aug 2014 17:27:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 38365 invoked by uid 500); 12 Aug 2014 17:27:13 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 38191 invoked by uid 500); 12 Aug 2014 17:27:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 38174 invoked by uid 99); 12 Aug 2014 17:27:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 17:27:13 +0000 Date: Tue, 12 Aug 2014 17:27:13 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7648) authorization api should provide table/db object for create table/dbname MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)