JUser::authorise
Method to check JUser object authorisation against an access control object and optionally an access extension object
Signature
public function authorise(string
$action,
[string
$assetname = null] )
Parameters
-
$action
- The name of the action to check for permission.
-
$assetname
- The name of the asset on which to perform the action.
Returns
- boolean
- True if authorised