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:
jennylee
2013-06-04 15:39:47 -04:00
parent 5a727de203
commit cfd709e04b

View File

@@ -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;
}
}