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

User role API allows to make role with no UI elements

    XMLWordPrintable

    Details

    • Team:
      Team D
    • Sprint:
      Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021)
    • Story Points:
      0.5

      Description

      Create a user role (type:3) with only the Administration section UI elements enabled. Perform an update of this role by changing the type to 1.

      Observe that the user role is updated and no UI elements are enabled:

      When such a role is used it causes problems with the Frontend:

      PHP Fatal error:  Uncaught TypeError: Return value of CMenuHelper::getFirstMenuItem() must be an instance of CMenuItem, null returned

        Attachments

          Activity

            People

            Assignee:
            zabbix.dev Zabbix Development Team
            Reporter:
            vjaceslavs Vjaceslavs Bogdanovs
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: