Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 49197 invoked from network); 21 Mar 2011 14:58:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 14:58:36 -0000 Received: (qmail 72226 invoked by uid 500); 21 Mar 2011 14:58:36 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 72203 invoked by uid 500); 21 Mar 2011 14:58:36 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 72188 invoked by uid 99); 21 Mar 2011 14:58:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 14:58:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 14:58:28 +0000 Received: by fxm19 with SMTP id 19so5526963fxm.6 for ; Mon, 21 Mar 2011 07:58:08 -0700 (PDT) Received: by 10.223.106.76 with SMTP id w12mr5134851fao.104.1300719393333; Mon, 21 Mar 2011 07:56:33 -0700 (PDT) Received: from bblfish.home (ALagny-751-1-12-205.w83-112.abo.wanadoo.fr [83.112.83.205]) by mx.google.com with ESMTPS id l4sm956000fan.38.2011.03.21.07.56.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Mar 2011 07:56:32 -0700 (PDT) From: Henry Story Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: setting permissions on a graph? Date: Mon, 21 Mar 2011 15:56:29 +0100 Message-Id: <8315CCDF-7EE3-48C6-A54F-BE76018BB918@bblfish.net> To: clerezza-dev@incubator.apache.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org I the WebIdGraphsService a permission on a graph in set by calling = tcManager.getTcAccessController.setRequiredReadPermissionStrings(localGrap= hUri, List(new TcPermission(Constants.CONTENT_GRAPH_URI_STRING, = TcPermission.READ).toString)) I don't understand what Constants.CONTENT_GRAPH_URI_STRING has to do in there. I am not sure how to read the = setRequiredReadPermissionStrings method. Also is it called setRequiredReadPermissionStrings when you can set read = or write permissions? Why not just setPermissions? I would like to have a graph for each user with an account, to which = every agent on the web - even anonymous users - can write, but where the = deleting is going to be very restricted. I also want to filter that = graph so that each agent can only see what he wrote to the graph. =20 The point of this graph is for people using other CMSes to be able to = send pings to a Clerezza user in order to notify him for example that = she was added to someone's foaf profile for example. I am not quite sure what permissions I should set on that graph... If = there was to be a permission restriction, it might be for certain code = to be able to write to that graph - the ping code for example. Still new to this. Henry Social Web Architect http://bblfish.net/