Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 42684 invoked from network); 4 Apr 2006 13:47:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2006 13:47:51 -0000 Received: (qmail 15923 invoked by uid 500); 4 Apr 2006 13:47:50 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 15884 invoked by uid 500); 4 Apr 2006 13:47:50 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 15875 invoked by uid 99); 4 Apr 2006 13:47:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 06:47:50 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of piccinatto@ibest.com.br designates 200.181.68.97 as permitted sender) Received: from [200.181.68.97] (HELO angmar.ibest.com.br) (200.181.68.97) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 06:47:48 -0700 Received: from ibest.com.br (ibvipnew.ibest.com.br [127.0.0.1]) by angmar.ibest.com.br (Postfix) with ESMTP id 9F39427C61 for ; Tue, 4 Apr 2006 13:47:25 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain MIME-Version: 1.0 X-Mailer: MIME::Lite 2.117 (F2.6; A1.50; B2.12; Q2.03) X-Mailer: IbestMail X-Organization: Ibest S/A X-Identity: 931768_1144158445 From: "hsp" To: dev@jackrabbit.apache.org Cc: Torgeir Veimo Subject: Re: Mixin values. Date: Tue, 04 Apr 2006 10:47:25 -0300 Message-Id: <20060404134725.9F39427C61@angmar.ibest.com.br> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry if my question is so obvious, is a shame that it is not for me. The acl you said is like 'access control list' ? How could I implement it? Is there a ready support in jackrabbit for this? How many information must have in this key. I would mind this better, please help me about it. I'm a begginer. Thanks Helio >On Tue, 2006-04-04 at 10:07 -0300, hsp wrote: > >> Anyway, following your example, when I want to give access to a node >> with id=XXX to an user USER, I must create a new propertie, called XXX >> into the node the USER belongs to, for ex: > >> >On Tue, 2006-04-04 at 10:26 +0200, Marcel Reutegger wrote: >> >> >> >> Using the node id as a property name allows you to use the regular >> >> api >> >> to get the access control you are looking for. > >Marcel is talking about storing the acl in a map keyed on the nodeid. >That map would then be externally to the repository itself and you don't >have to do any repository query / lookup to retrieve the acl. > >It's still possible to store acl's in the repository and just update an >external map using a listerener on the repository. This listener would >then read the data in the way you suggest and update the map. > >-- >Torgeir Veimo > >