WIKI Programming Guide

Functionality discussions and feature requests

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Posts: 42
Joined: Mon Feb 04, 2013 12:47 pm

WIKI Programming Guide

Post by onyekachi »

Is the definition of how to create Permission in the Service Layer as explained in WIKI still consistent with Cyclos Version 3.7.3? I have meticulously followed the guide and have even done file search for some of the key words like @OperatorAction or @PathToMember etc and they do not exist in the code.
If not, is their any guideline about how to navigate the security ream.
permission.png (78.17 KiB) Viewed 1450 times

Posts: 186
Joined: Fri Feb 17, 2006 11:01 am

Re: WIKI Programming Guide

Post by luis »

I apologize for the rather outdated wiki page.
Actually, those annotations were used before, but not enough for complex security checks.
Hence, we added the security layer, which are classes on the same package as the service implementations, and which implement the service interface. They check all needed permissions to perform each method and then invoke the same method on the "real" service implementation, which is always accessed through the local service interface.
I've changed the wiki page.
Luis Fernando Planella Gonzalez
Cyclos development team

Post Reply