I need to control who or what role gets access to what page or what method. Something like the class and method anotations on ASP MVC or Spring JAVA.
How can I do this in lithium?
There is no built-in complete ACL functionality on Lihtium's core, beauce there is no really solution to ACLs problem.
Hopefully, Lithium is kick-ass when it comes to deal with external libraries and plugin to extend the core functionality.
Take a look to li3_access which is the most complete and flexible plugin or ACL out there, or simpler solutions.
If your only need is to specify which actions are public and which not, you can dot it using Lithium filters: Read the guide
PS: Zed Shaw - The ACL is Dead http://vimeo.com/2723800
来源:https://stackoverflow.com/questions/8750604/lithium-access-control