JAccessRules::allow
Checks that an action can be performed by an identity.
The identity is an integer where +ve represents a user group, and -ve represents a user.
Signature
public function allow(string
$action,
mixed
$identity )
Parameters
-
$action
- The name of the action.
-
$identity
- An integer representing the identity, or an array of identities
Returns
- mixed
- Object or null if there is no information about the action.