Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62321 invoked from network); 16 Feb 2006 22:58:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 22:58:19 -0000 Received: (qmail 58762 invoked by uid 500); 16 Feb 2006 22:58:18 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58691 invoked by uid 500); 16 Feb 2006 22:58:18 -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 58648 invoked by uid 99); 16 Feb 2006 22:58:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 14:58:17 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.145] (HELO e5.ny.us.ibm.com) (32.97.182.145) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 14:58:17 -0800 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e5.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id k1GMvth4022409 for ; Thu, 16 Feb 2006 17:57:55 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id k1GMvtNH197768 for ; Thu, 16 Feb 2006 17:57:55 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k1GMvsUb027785 for ; Thu, 16 Feb 2006 17:57:55 -0500 Received: from [127.0.0.1] (sig-9-48-109-114.mts.ibm.com [9.48.109.114]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id k1GMvrVo027734 for ; Thu, 16 Feb 2006 17:57:54 -0500 Message-ID: <43F5036E.4020904@apache.org> Date: Thu, 16 Feb 2006 14:57:50 -0800 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-464) Enhance Derby by adding grant/revoke support. Grant/Revoke provide finner level of privileges than currently provided by Derby that is especially useful in network configurations. References: <1220360668.1140129960696.JavaMail.jira@ajax.apache.org> In-Reply-To: <1220360668.1140129960696.JavaMail.jira@ajax.apache.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Satheesh Bandaram (JIRA) wrote: > All implement check() interface that is used to invoke permission checking for that access descriptor. Access descriptors already know what they need to check for and are passed current user authorizationId. Since g/r is a language issue, it seems like the check() method should take the LCC and not the transaction controller. Then the authorization id would be available in the LCC and not have the potential to be different. Or can it be different, again comments needed here. > The equals() method is used to check if an access descriptor is already created for the specific access. For example, a query may have multiple references to same table. No need to create multiple access descriptors for the same table for the same kind of access. This becomes more important as each and every column referenced may try to add an access descriptor for the table in question. > > I will add these details to the design part of the spec. And to the java code, right? Dan.