Page 1 of 1

WIKI Programming Guide

Posted: Mon Feb 25, 2013 2:55 pm
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.

Re: WIKI Programming Guide

Posted: Mon Feb 25, 2013 4:08 pm
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.