Authorizator interface, used by CascadeController to determine whether user is allowed to perform an action or not. More...
Public Member Functions | |
isBlockAllowed ($block_name, &$details=null) | |
Level 1: Check if block is allowed to current user. | |
Authorizator interface, used by CascadeController to determine whether user is allowed to perform an action or not.
Authorization is separed into two levels:
When permission is denied at the first level, block is not executed at all. The second level permissions are be checked by each block, therefore, there is a lot of space for errors. User must pass both levels to perform the action.
Only the first level is in scope of this interface and the CascadeController.