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

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Frontend (F)
    • Labels:

      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

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

              Dates

              Created:
              Updated:
              Resolved: