UsersControllerUser::allowEdit
Overrides JControllerForm::allowEdit
Checks that non-Super Admins are not editing Super Admins.
Signature
protected function allowEdit(array
$data,
[string
$key = 'id'] )
Parameters
-
$data
- An array of input data.
-
$key
- The name of the key for the primary key.
Returns
- boolean
- True if allowed, false otherwise.