GX-Bug #55233
geschlossenAdminAccess: Es können nicht alle Rollen von einem Admin entfernt werden
100%
Einem Admin kann in der Zugriffs-Verwaltung nun wieder alle Rollen entzogen werden
Beschreibung
Geht man in die Ansicht zum Zuweisen von Rollen und möchte dort einem Admin alle Rollen entziehen, dann erhält man eine Exception.
FATAL ERROR(1): "Uncaught TypeError: Argument 2 passed to AdminAccessController::_updateAssignedRolesForAdmin() must be of the type array, null given, called in /var/www/html/local-feature/GXMainComponents/Controllers/HttpView/Admin/AdminAccess/AdminAccessController.inc.php on line 148 and defined in /var/www/html/local-feature/GXMainComponents/Controllers/HttpView/Admin/AdminAccess/AdminAccessController.inc.php:767
Stack trace:
#0 /var/www/html/local-feature/GXMainComponents/Controllers/HttpView/Admin/AdminAccess/AdminAccessController.inc.php(148): AdminAccessController->_updateAssignedRolesForAdmin(2, NULL)
#1 /var/www/html/local-feature/GXEngine/Services/System/Http/HttpViewController.inc.php(152): AdminAccessController->actionAssignRoles()
#2 /var/www/html/local-feature/GXEngine/Services/System/Http/HttpViewController.inc.php(107): HttpViewController->_callActionMethod('assignRoles')
#3 /var/www/html/local-feature/GXEngine/Services/System/Http/HttpDispatcher.inc.php(72): HttpViewController->proceed(Object(HttpContextServe"