[Neos] Make your own privilege: Why is MethodPrivilegeInterface hard-coded in class PolicyEnforcement

Olle Haerstedt o.haerstedt at bitmotion.de
Tue Apr 21 10:38:41 CEST 2015


Thanks for your answer!

So, what is best then - to implement MethodPrivilegeInterface or extend the already present class?

Maybe there should be an exception too, when a privilege target in policy.yaml doesn't implement
either of those two interfaces (method or entity).


More information about the Neos mailing list