Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 1459 invoked from network); 2 May 2008 08:31:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 May 2008 08:31:01 -0000 Received: (qmail 63841 invoked by uid 500); 2 May 2008 08:31:02 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 63831 invoked by uid 500); 2 May 2008 08:31:02 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 63820 invoked by uid 99); 2 May 2008 08:31:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 01:31:01 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vikasmayur@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2008 08:30:15 +0000 Received: by wa-out-1112.google.com with SMTP id j40so262396wah.1 for ; Fri, 02 May 2008 01:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Z6Ryhx0LFzaGJhKiJAdAq4k9qz/n3OMojBlrxXt/OJw=; b=spxZYipp3UjoWlbnew+RYgi2iTIZ0vEbkz/4RU4Z1MjX1NMInFIAwcdKC/Ya4gpCE+a1KEE2Hui3EqDvXO5H005BUauSqCb2kOv0hH16+/o7qqqFbWvTWaHzvlOeSTc77MZBoZgI6F1C1yyR/v67esQbIRRp0N6H+ZA6p9+a+48= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=p/bCto2IWe5+GozJ6Jwxd1N+sr6dRIPPKdAZoBZPmMjmNrFLPTz/cR1hjTnetbrQOcx2AItqoXtFIiPYI+qv93C7LMlVfzUwXOo2N5gRtxVkm0x2fAdkjnDsILn01WKUdyNt6R7ByLxZj2XGQBYwQbsSuxX111iOj6vDmSL076M= Received: by 10.114.36.1 with SMTP id j1mr2770022waj.119.1209717029395; Fri, 02 May 2008 01:30:29 -0700 (PDT) Received: by 10.114.121.6 with HTTP; Fri, 2 May 2008 01:30:29 -0700 (PDT) Message-ID: <4bfac6a90805020130m48b1209cq4043f420f910d82f@mail.gmail.com> Date: Fri, 2 May 2008 14:00:29 +0530 From: "Vikas Mayur" To: user@ofbiz.apache.org Subject: Re: security permission In-Reply-To: <16993344.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10684_14694483.1209717029394" References: <16993344.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_10684_14694483.1209717029394 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline There is a one-nofk relation between SecurityGroupPermission --> SecurityPermission on permissionId field. I think, this is the reason its not giving fk error. If we going to add new security group and than want to add permission(s) using Ui, It should also add this permission to SecurityPermission, Since this is the entity which holds the list of Security Permission in system. Is there any specific reason it is not done in Ui. Vikas On Thu, May 1, 2008 at 11:14 PM, JohnBrown wrote: > > HI Guys, > > I have a question. Is there a particular reason why the permission which > is > added manually ( i.e. not selected from the permissions list) on > Security-> > permission tab is NOT get saved to SecurityPermission entity where all the > permissions are stored? It appears that manually added permission just > stored in SecurityGroupPermission to make a mapping to group, but not to > SecurityPermission. While normally it would require foreign key constraint > SecurityGroupPermission - > SecurityPermission on permissionId field? > > Please, let me know. Thanks. > -- > View this message in context: > http://www.nabble.com/security-permission-tp16993344p16993344.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > ------=_Part_10684_14694483.1209717029394--