Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Object level security
[CDO] Object level security [message #1765560] Mon, 12 June 2017 13:16 Go to next message
Bastien BARET is currently offline Bastien BARETFriend
Messages: 12
Registered: February 2017
Junior Member

I'm trying to create an object security level (per object permission) with inheritance. For example, when I create a permission, I want all contained objects (subtree) to be affected by this permission. However, I want to be able to stop this inheritance at some point.

Do you have any idea how can I implement this behavior/functionality please ? Maybe by implementing my own PermissionFilter ?

Thank you very much.

Regards, Bastien.
Re: [CDO] Object level security [message #1766563 is a reply to message #1765560] Fri, 23 June 2017 05:37 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6544
Registered: July 2009
Senior Member
Yes, you can implement and deploy your own PermissionFilter. But please keep in mind that a such a filter is evaluated per object. So, if you want it to be applicable to a subtree of objects, it must be implemented to derive the result by walking up the subtree to find the root of that subtree, and then evaluating the result based on the root object.

Previous Topic:[CDO] debugging schema derivation?
Next Topic:[CDO] How to build cdo from sources
Goto Forum:

Current Time: Tue Mar 09 03:53:40 GMT 2021

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

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

Back to the top