Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 31404 invoked from network); 2 May 2007 07:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2007 07:28:37 -0000 Received: (qmail 69796 invoked by uid 500); 2 May 2007 07:28:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 69762 invoked by uid 500); 2 May 2007 07:28:42 -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 69753 invoked by uid 99); 2 May 2007 07:28:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 00:28:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 00:28:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 737F571403F for ; Wed, 2 May 2007 00:28:15 -0700 (PDT) Message-ID: <30308509.1178090895467.JavaMail.jira@brutus> Date: Wed, 2 May 2007 00:28:15 -0700 (PDT) From: "Dyre Tjeldvoll (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2594) Revoking a privilege from an SQL Object should invalidate statements dependent on that object In-Reply-To: <22741942.1177587435446.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-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dyre Tjeldvoll updated DERBY-2594: ---------------------------------- Attachment: derby-2594.v1.stat derby-2594.v1.diff Attaching a proper patch (derby-2594.v1). suites.All and derbyall pass. Reviews are appreciated, as always. (Does not include any DependencyManager tracing). > Revoking a privilege from an SQL Object should invalidate statements dependent on that object > --------------------------------------------------------------------------------------------- > > Key: DERBY-2594 > URL: https://issues.apache.org/jira/browse/DERBY-2594 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.2.1.6 > Reporter: Dyre Tjeldvoll > Assigned To: Dyre Tjeldvoll > Attachments: derby-2594.v1.diff, derby-2594.v1.stat, revoke_prelim.diff > > > Revoking a privilege on a table will currently cause the DependencyManager.invalidateFor() to be called on the table's TablePermsDescriptor with the action=REVOKE_PRIVILEGE. However, the prepared statements that refer to that table are dependents of the table's TableDescriptor, but NOT its TablePermsDescriptor, so the statements are not invalidated after revoke. > This problem is currently hidden by the fact that authorization is checked on every execution, but this will change when language result sets are no longer reused (see DERBY-827). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.