Lithium Access Control

谁说胖子不能爱 提交于 2019-12-08 05:22:58

问题


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?


回答1:


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!