Default Access Control Listener.
More...
|
static | accept (Event $event) |
| Determines whether a page should be accepted by ACL when iterating.
|
|
Default Access Control Listener.
static accept |
( |
Event |
$event | ) |
|
|
static |
Determines whether a page should be accepted by ACL when iterating.
- If helper has no ACL, page is accepted
- If page has a resource or privilege defined, page is accepted if the ACL allows access to it using the helper's role
- If page has no resource or privilege, page is accepted
- If helper has ACL and role:
- Page is accepted if it has no resource or privilege.
- Page is accepted if ACL allows page's resource or privilege.
- Parameters
-
- Returns
- bool