BUG 11980. Change the Administrator User Role to Operator Role. SOLVED
On Admin > Users > Roles > choose Operator or Manager Role > Users > Assign Users, click on Administrator from the Available Users List and then assign this to the Assigned Users List, PM allowed you assign the Administrator user to the Operator/Manager Role. Now PM shows a notification popup saying this is not allowed.
This commit is contained in:
@@ -164,7 +164,9 @@ switch ($REQUEST) {
|
||||
$sData['ROL_UID'] = $ROL_UID;
|
||||
if ($sData['USR_UID'] == '00000000000000000000000000000001') {
|
||||
if ($sData['ROL_UID'] != 'PROCESSMAKER_ADMIN') {
|
||||
echo '{userRole: true}';
|
||||
$response = new stdclass();
|
||||
$response->userRole = true;
|
||||
echo G::json_encode($response);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user