Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 18803 invoked from network); 17 Feb 2010 14:37:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2010 14:37:49 -0000 Received: (qmail 90453 invoked by uid 500); 17 Feb 2010 14:37:49 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 90417 invoked by uid 500); 17 Feb 2010 14:37:48 -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 90407 invoked by uid 99); 17 Feb 2010 14:37:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 14:37:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Feb 2010 14:37:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE58F234C4A8 for ; Wed, 17 Feb 2010 06:37:27 -0800 (PST) Message-ID: <1448446529.334411266417447909.JavaMail.jira@brutus.apache.org> Date: Wed, 17 Feb 2010 14:37:27 +0000 (UTC) From: =?utf-8?Q?Reto_Bachmann-Gm=C3=BCr_=28JIRA=29?= To: clerezza-dev@incubator.apache.org Subject: [jira] Commented: (CLEREZZA-107) Usermanager: method to return user as resource In-Reply-To: <836279666.127921265657008198.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLEREZZA-107?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 834777#action_12834777 ]=20 Reto Bachmann-Gm=C3=BCr commented on CLEREZZA-107: --------------------------------------------- reviewing > Usermanager: method to return user as resource > ---------------------------------------------- > > Key: CLEREZZA-107 > URL: https://issues.apache.org/jira/browse/CLEREZZA-107 > Project: Clerezza > Issue Type: Improvement > Reporter: Reto Bachmann-Gm=C3=BCr > Assignee: Manuel Innerhofer > > UserManager.getUserByName(name): deprecate or remove this method, if one = has access to the system gaph getting the resource is trivial to get this r= esource, otherwiese it might be used wrongly as this is done in HierachyMan= ager. > getUserGraphNode(name): it's off little use to have the GraphNode with in= "UnionMGraph between a new SimpleMGraph and the system graph". I suggest t= o have > getUserInSystemGraph(name) : GraphNode -> The user in the system graph > getUserGraphNode(name) : GraphNode -> Returns the current user in an Edit= able MGraph (i.e. a SimpleGraph but this is implementation specific) with t= he context of the user node, editing the graphnode('s Mgaph) doesn't cause = any change elsewhere. > I'm not sure if we should also include information contained in the conte= nt graph, I tend to think taht this should be done elsewhere if needed --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.