Свойство | Тип | Описание | |
---|---|---|---|
$rootUsers | Users with all permissions |
Метод | Описание | |
---|---|---|
can ( string $permissionName, array $params = [], boolean | true $allowCaching = true ) : boolean | Extended permission check with Guest role and route. |
Метод | Описание | |
---|---|---|
canGuest ( $permissionName, $params, $allowCaching ) : boolean | Checks permissions from guest role, when no user is logged in. | |
checkAccessRoute ( $permissionName, $params, $allowCaching ) : boolean | Checks route permissions. |