fix roles after change the role name to Lurana

This commit is contained in:
Fernando Ontiveros
2025-06-27 20:22:10 -04:00
parent 0dea81735b
commit ccb4387f4d
5 changed files with 6 additions and 6 deletions

View File

@@ -323,4 +323,3 @@ switch ($REQUEST) {
default:
echo 'default';
}

View File

@@ -111,6 +111,7 @@ try {
case 'rolesList':
$roles = new Roles();
$rolesData = $roles->getAllRoles();
$data = [];
foreach ($rolesData as $rowId => $row) {
$data[] = ['ROL_UID' => $row['ROL_CODE'], 'ROL_CODE' => $row['ROL_NAME']];

View File

@@ -678,7 +678,7 @@ class Role
->where('CONTENT.CON_CATEGORY', '=', 'ROL_NAME')
->where('CONTENT.CON_LANG', '=', $lang)
->where('RBAC_ROLES.ROL_CODE', '<>', 'RBAC_ADMIN')
->where('RBAC_ROLES.ROL_CODE', '<>', 'PROCESSMAKER_GUEST')
->where('RBAC_ROLES.ROL_CODE', '<>', 'LURANA_GUEST')
->where('RBAC_ROLES.ROL_STATUS', '=', '1')
->select([
'RBAC_ROLES.ROL_UID',
@@ -691,4 +691,3 @@ class Role
return $roles;
}
}