Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30808 invoked from network); 22 Jan 2010 15:11:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Jan 2010 15:11:45 -0000 Received: (qmail 36030 invoked by uid 500); 22 Jan 2010 15:11:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35994 invoked by uid 500); 22 Jan 2010 15:11:44 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 35986 invoked by uid 99); 22 Jan 2010 15:11:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 15:11:44 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2010 15:11:42 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9484129A0013 for ; Fri, 22 Jan 2010 07:11:21 -0800 (PST) Message-ID: <936867868.5031264173081607.JavaMail.jira@brutus.apache.org> Date: Fri, 22 Jan 2010 15:11:21 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4191) Lack of SELECT privilege does not prevent SELECT COUNT(*) In-Reply-To: <317785562.1240841430607.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803719#action_12803719 ] Kim Haase commented on DERBY-4191: ---------------------------------- I can document this along with the changes to the SELECT statement topic that I am making for DERBY-4518, if that would be okay. > Lack of SELECT privilege does not prevent SELECT COUNT(*) > --------------------------------------------------------- > > Key: DERBY-4191 > URL: https://issues.apache.org/jira/browse/DERBY-4191 > Project: Derby > Issue Type: Bug > Components: Documentation, SQL > Affects Versions: 10.4.2.0, 10.5.1.1 > Reporter: Knut Anders Hatlen > Assignee: Mamta A. Satoor > Fix For: 10.6.0.0 > > Attachments: DERBY4191_ColumnLevelCheckInStatmentColumnPerm_diff_patch2.txt, DERBY4191_ColumnLevelCheckInStatmentColumnPerm_stat_patch2.txt, DERBY4191_ColumnLevelCheckInStatmentTablePerm_diff_patch1.txt, DERBY4191_countStar_privilege_diff_patch1.txt, DERBY4191_miniumSelectPriv_CursorNode_And_Subquery_diff_patch6.txt, DERBY4191_miniumSelectPriv_CursorNode_And_Subquery_stat_patch6.txt, DERBY4191_miniumSelectPrivOnAllTables_And_Subquery_diff_patch5.txt, DERBY4191_miniumSelectPrivOnAllTables_And_Subquery_stat_patch5.txt, DERBY4191_miniumSelectPrivOnAllTables_diff_patch3.txt, DERBY4191_miniumSelectPrivOnAllTables_diff_patch4.txt, DERBY4191_miniumSelectPrivOnAllTables_stat_patch3.txt, DERBY4191_miniumSelectPrivOnAllTables_stat_patch4.txt, releaseNote.html, repro.sql > > > A user that does not have SELECT privilege on a table can still perform a SELECT COUNT(*) on that table. Counting a specific column (e.g., SELECT COUNT(X)) is prevented. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.