FlexAuthorizeInterface
in
Defines authorization checks for Flex Objects.
Table of Contents
Methods
- isAuthorized() : bool|null
- Check if user is authorized for the action.
Methods
isAuthorized()
Check if user is authorized for the action.
public
isAuthorized(string $action[, string|null $scope = null ][, UserInterface|null $user = null ]) : bool|null
Note: There are two deny values: denied (false), not set (null). This allows chaining multiple rules together when the previous rules were not matched.
Parameters
- $action : string
- $scope : string|null = null
- $user : UserInterface|null = null