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

A user included to user group with "Internal" access type can not log in to Web-interface

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0
    • Frontend (F)

    Description

      A user included to user group with "Internal" access type can not log in to Web-interface when HTTP auth was enabled.
      He receives message: 'User name does not match with DB'.

      I suppose the problem in CUser::login() function:

      $dbAccess = DBfetch(DBselect(
      'SELECT MAX(g.gui_access) AS gui_access'.
      ' FROM usrgrp g,users_groups ug'.
      ' WHERE ug.userid='.$userInfo['userid'].
      ' AND g.usrgrpid=ug.usrgrpid'
      ));

      so MAX for gui_access is 1 = GROUP_GUI_ACCESS_INTERNAL.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: