From derby-dev-return-61523-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Wed Jul 09 09:56:23 2008 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35926 invoked from network); 9 Jul 2008 09:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 09:56:23 -0000 Received: (qmail 63540 invoked by uid 500); 9 Jul 2008 09:56:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 63318 invoked by uid 500); 9 Jul 2008 09:56:23 -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 63303 invoked by uid 99); 9 Jul 2008 09:56:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 02:56:22 -0700 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; Wed, 09 Jul 2008 09:55:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C9514234C160 for ; Wed, 9 Jul 2008 02:55:31 -0700 (PDT) Message-ID: <1368536357.1215597331823.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 02:55:31 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-3743) Revoking EXECUTE privilege on a function if used in a CHECK constraint: implementation problem In-Reply-To: <1823970336.1214838824968.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik closed DERBY-3743. -------------------------------- Resolution: Fixed Fix Version/s: 10.5.0.0 Derby Info: (was: [Patch Available]) Committed derby-3743 as svn 675129, closing. > Revoking EXECUTE privilege on a function if used in a CHECK constraint: implementation problem > ----------------------------------------------------------------------------------------------- > > Key: DERBY-3743 > URL: https://issues.apache.org/jira/browse/DERBY-3743 > Project: Derby > Issue Type: Improvement > Components: Security, SQL > Affects Versions: 10.5.0.0 > Reporter: Dag H. Wanvik > Assignee: Dag H. Wanvik > Fix For: 10.5.0.0 > > Attachments: derby-3743-show-constraint-invalidate-actions.diff, derby-3743-show-constraint-invalidate-actions.stat, derby-3743.diff, derby-3743.stat > > > The docs say that REVOKE EXECUTE ... RESTRICT should > fail if there is a dependent constraint: > "The RESTRICT clause specifies that the EXECUTE privilege cannot be > revoked if the specified routine is used in a view, trigger, or > constraint, and the privilege is being revoked from the owner of the > view, trigger, or constraint." > Revoking the privilege will be correctly restricted, but possibly for the wrong reason. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.