Lithium access control

I need to control who or what role accesses which page or method. Something like class and method anomalies in ASP MVC or Spring JAVA.

How to do it in lithium?

+1
source share
1 answer

There are no built-in ACL functionality in the Lihtium core, but there really is no solution to the ACL problem.

I hope lithium is a hit when it comes to external libraries and the plugin to extend the functionality of the kernel.

Take a look at li3_access , which is the most comprehensive and flexible plugin or ACL, or simpler solutions .

If you only need to indicate which actions are publicly available and which are not, you can mark them with lithium filters. Read the manual. p>

PS: Zed Shaw - ACL is dead http://vimeo.com/2723800

+2
source

Source: https://habr.com/ru/post/1391474/


All Articles