-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.4.13rc1
-
S24-W12/13, S24-W14/15
-
0.125
Steps to reproduce:
- Provision user with access to frontend. User directory group mapping user role should not be set to super admin.
- Change provisioning group mapping to deprovision user on next login.
- Login with provisioned user from first step.
Result:
Uncaught Exception: Specified role was not found. in /var/www/html/release/6.4/ui/include/classes/helpers/CRoleHelper.php:199 Stack trace: #0 /var/www/html/release/6.4/ui/include/classes/helpers/CRoleHelper.php(140): CRoleHelper::loadRoleRules('2') #1 /var/www/html/release/6.4/ui/include/classes/user/CWebUser.php(123): CRoleHelper::checkAccess('ui.monitoring.d...', '2') #2 /var/www/html/release/6.4/ui/include/classes/helpers/CMenuHelper.php(33): CWebUser::checkAccess('ui.monitoring.d...') #3 /var/www/html/release/6.4/ui/include/classes/helpers/CMenuHelper.php(496): CMenuHelper::getMainMenu() #4 /var/www/html/release/6.4/ui/include/classes/helpers/CMenuHelper.php(523): CMenuHelper::getFirstMenuItem() #5 /var/www/html/release/6.4/ui/index.php(81): CMenuHelper::getFirstUrl() #6 {main} thrown in /var/www/html/release/6.4/ui/include/classes/helpers/CRoleHelper.php on line 199
Expected:
Error: No access to frontend
- caused by
-
ZBX-23262 API is not accessible if access to the front-end is disabled
- Closed