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-316) Update where a GraphNode accessible in ssp bases on a graph injected with service
Date Wed, 06 Oct 2010 14:50:31 GMT

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

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

In one of the patches I see:

-		systemGraph.add(new TripleImpl(instance, PLATFORM.languages,
-				listNode));
+		Lock writeLock = systemGraph.getLock().writeLock();
+		writeLock.lock();
+		try {
+			systemGraph.add(new TripleImpl(instance, PLATFORM.languages, listNode));
+		} finally {
+			writeLock.unlock();
+		}

why this?

> Update where a GraphNode accessible in ssp bases on a graph injected with service
> ---------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-316
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-316
>             Project: Clerezza
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ito
>            Assignee: Manuel Innerhofer
>
>  Fix if this can easily be prevented
>  
> Possibly: have a service returning an unsecured graph, maybe add a method getUnsecuredMGrah
to SecuredMGraph, this method would check permissions while the retuned mgarph would no longer
need to. => to do in a dedicated issue

-- 
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