Hello,
I would like to learn how you handle allow/deny rules for different
modules' index pages?
For example, I want to allow access to everybody for "default"
module's index resource and index action.
But want to deny access to admin module's it's index resource + it's
index action.

My current implementation was as below:
$this->acl->allow(null, 'index');//allow any role on index controller/resource
This was intended for the default module. But when I added a new
module such as admin,
I needed a deny rule for this admin module's index.

Is there a built-in way to achieve this? Or basically, shall I check
the module name and then allow or deny?

Thanks,

Reply via email to