Skip to main content



      Home
Home » Modeling » EMF » [CDO] Setting Access Rights on nodes(Managing the CDO Security Manager to set fine permissions on classes and elements)
[CDO] Setting Access Rights on nodes [message #1006428] Thu, 31 January 2013 05:41 Go to next message
Eclipse UserFriend
Hi.

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 ?
Are there examples about those points ?
Re: [CDO] Setting Access Rights on nodes [message #1006437 is a reply to message #1006428] Thu, 31 January 2013 06:04 Go to previous messageGo to next message
Eclipse UserFriend
hi Jean,

I plan to write a tutorial explaining how to set up CDO security manager thee days. I will keep you informed when it will be available.

Pierre
Re: [CDO] Setting Access Rights on nodes [message #1006461 is a reply to message #1006428] Thu, 31 January 2013 05:50 Go to previous messageGo to next message
Eclipse UserFriend
Am 31.01.2013 11:41, schrieb Jean Rebillat:
> Hi.
>
> 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...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Setting Access Rights on nodes [message #1010626 is a reply to message #1006437] Sun, 17 February 2013 17:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi!

A draft version is now available at http://wiki.eclipse.org/CDO/Security_Manager
Your remarks are of course welcome. Feel free also to edit it as required.

Pierre
Re: [CDO] Setting Access Rights on nodes [message #1011216 is a reply to message #1010626] Mon, 18 February 2013 23:49 Go to previous messageGo to next message
Eclipse UserFriend
Am 17.02.2013 23:17, schrieb Pierre Gaufillet:
> Hi!
>
> A draft version is now available at http://wiki.eclipse.org/CDO/Security_Manager
Awesome. It seems very helpful to me. Thank you!

> Your remarks are of course welcome. Feel free also to edit it as required.
I've added a sentence about annotation-based configuration in
http://wiki.eclipse.org/CDO/Security_Manager#Setting_up_the_security_manager_on_a_new_repository .

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [CDO] Setting Access Rights on nodes [message #1011329 is a reply to message #1011216] Tue, 19 February 2013 05:38 Go to previous message
Eclipse UserFriend
Thanks for your help, Eike Smile
Previous Topic:[CDO] Support to Postgresql 9.0
Next Topic:Determine EClass from class name string?
Goto Forum:
  


Current Time: Wed Jul 23 09:40:54 EDT 2025

Powered by FUDForum. Page generated in 0.10120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top