Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:41 Go to next message
Jean Rebillat is currently offline Jean RebillatFriend
Messages: 14
Registered: December 2010
Junior Member
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 11:04 Go to previous messageGo to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 32
Registered: July 2009
Member
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 10:50 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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 22:17 Go to previous messageGo to next message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 32
Registered: July 2009
Member
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] Tue, 19 February 2013 04:49 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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 10:38 Go to previous message
Pierre Gaufillet is currently offline Pierre GaufilletFriend
Messages: 32
Registered: July 2009
Member
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: Thu Apr 25 00:05:51 GMT 2024

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

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

Back to the top