FOFPlatform::authorise
Perform an ACL check.
Signature
public function authorise(string
$action,
string
$assetname )
Parameters
-
$action
- The ACL privilege to check, e.g. core.edit
-
$assetname
- The asset name to check, typically the component's name
Returns
- boolean
- True if the user is allowed this action