API docs     >     Users and Permissions     >     Usergroups

Usergroups->onPermissionChange

Description

onPermissionChange ( $usergroupId, $permission, $value, $objectId )
Callback method which is executed when Usergroup permissions on the specified Usergroup changes

Parameters

$usergroupId
int
$permission
string
Permission (RREAD, RWRITE, RDELETE, RSUB, RSTAGE, RSEND)
$value
bool
TRUE when the permission is granted, FALSE when it is removed
$objectId
int