incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] Commented: (CLEREZZA-107) Usermanager: method to return user as resource
Date Wed, 17 Feb 2010 15:05:27 GMT

    [ https://issues.apache.org/jira/browse/CLEREZZA-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834795#action_12834795
] 

Reto Bachmann-Gmür commented on CLEREZZA-107:
---------------------------------------------

getUserInSystemGraph usisng a priviledged block to access the system graph, I don't think
this should be done here as the result is no of you if the caller has no access to the system
graph.

> 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ür
>            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 resource, otherwiese it might
be used wrongly as this is done in HierachyManager.
> getUserGraphNode(name): it's off little use to have the GraphNode with in "UnionMGraph
between a new SimpleMGraph and the system graph". I suggest to have
> getUserInSystemGraph(name) : GraphNode -> The user in the system graph
> getUserGraphNode(name) : GraphNode -> Returns the current user in an Editable MGraph
(i.e. a SimpleGraph but this is implementation specific) with the 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 content graph, I
tend to think taht this should be done elsewhere if needed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message