Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 68797 invoked from network); 18 Jan 2011 23:27:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2011 23:27:06 -0000 Received: (qmail 374 invoked by uid 500); 18 Jan 2011 23:27:05 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 99973 invoked by uid 500); 18 Jan 2011 23:27:05 -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 99965 invoked by uid 500); 18 Jan 2011 23:27:05 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 99961 invoked by uid 99); 18 Jan 2011 23:27:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 23:27:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jan 2011 23:27:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0INQiev015598 for ; Tue, 18 Jan 2011 23:26:44 GMT Message-ID: <8136115.46071295393204382.JavaMail.jira@thor> Date: Tue, 18 Jan 2011 18:26:44 -0500 (EST) From: "He Yongqiang (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1915) authorization on database level is broken. In-Reply-To: <24112547.379631295047608830.JavaMail.jira@thor> 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-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983435#action_12983435 ] He Yongqiang commented on HIVE-1915: ------------------------------------ @Carl, if you want to use review board, go ahead using it. You should not assume everyone else wants to use it for every patch. I will only try to use it as much as possible. > authorization on database level is broken. > ------------------------------------------ > > Key: HIVE-1915 > URL: https://issues.apache.org/jira/browse/HIVE-1915 > Project: Hive > Issue Type: Bug > Components: Metastore, Security > Reporter: He Yongqiang > Assignee: He Yongqiang > Attachments: HIVE-1915-2.patch, HIVE-1915.1.patch > > > CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database'; > SHOW DATABASES; > grant `drop` on DATABASE test_db to user hive_test_user; > grant `select` on DATABASE test_db to user hive_test_user; > show grant user hive_test_user on DATABASE test_db; > DROP DATABASE IF EXISTS test_db; > will fail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.