Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24226

Exception on login step for user to be deprovisioned

XMLWordPrintable

    • S24-W12/13, S24-W14/15
    • 0.125

      Steps to reproduce:

      1. Provision user with access to frontend. User directory group mapping user role should not be set to super admin.
      2. Change provisioning group mapping to deprovision user on next login.
      3. 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

            jfreibergs Janis Freibergs
            gcalenko Gregory Chalenko
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: