|Re: [CDO] Setting Access Rights on nodes [message #1006461 is a reply to message #1006428]
||Thu, 31 January 2013 10:50
|| Eike Stepper
Registered: July 2009
Am 31.01.2013 11:41, schrieb Jean Rebillat:|
> I come from the JCR Jackrabbit world, and maybe my words won't match clear EMF/CDO concepts, by I will try to explain
> my question.
> I have a CDO server, with two users (say John and Kim)
> I have a model (let's say a Galaxy, with Stars having Planets)
> I want John to have write access only to the nodes in the star "Aldebaran" and its planets, only read access to star
> Cassiopee and no access to Rigel.
> Kim herself shall have read access to all the Galaxy and no write access wherever.
> I can't figure how to make this possible using the SecurityManager in CDO.
> I see how I can add Users and Groups, but how can I associate resources and rights to these Assignees ?
With instances of ResourcePermission or with your custom subtypes of Permission.
> Are there examples about those points ?
I doubt it, the Security model/manager are too new. Wait, Pierre Gaufillet said he's writing a tutorial...
Powered by FUDForum
. Page generated in 0.02210 seconds