Welcome Guest, Not a member yet? Register   Sign In
Control the routes at the runtime
#1

[eluser]xmonader[/eluser]
Hi, how can i control the routes at the runtime ? for example i want to deactivate a module -using modular separation- ( forbidding the access to its controllers) ?
#2

[eluser]adamp1[/eluser]
Sounds like you need some kind ACL to restrict access to the controllers.
#3

[eluser]xmonader[/eluser]
Got it solved with checking if that plugin is activated in the database in the constructor of the controller and redirecting if it is not.




Theme © iAndrew 2016 - Forum software by © MyBB