diff --git a/application/models/CustomControllerAclManager.php b/application/models/CustomControllerAclManager.php index 0e4d1e26..b9b35740 100755 --- a/application/models/CustomControllerAclManager.php +++ b/application/models/CustomControllerAclManager.php @@ -89,6 +89,7 @@ if ($request->module<>"default") $resource=$request->module; // the ACL privilege is the requested action name $privilege = $request->action; + if ($request->module<>"default") $privilege = $request->controller; // if we haven't explicitly added the resource, check // the default global permissions if (!$this->acl->has($resource))