JAccess::checkGroup
Method to check if a group is authorised to perform an action, optionally on an asset.
Signature
public function checkGroup(integer
$groupId,
[string
$action = null,
[mixed
$asset = null]] )
Parameters
-
$groupId
- The path to the group for which to check authorisation.
-
$action
- The name of the action to authorise.
-
$asset
- Integer asset id or the name of the asset as a string. Defaults to the global asset node.
Returns
- boolean
- True if authorised.
Tasks
Line |
Task |
144 |
$rootId doesn't seem to be used! |