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

Selected API methods for a user role are not updating depending on the User type

XMLWordPrintable

    • S24-W28/29, S24-W32/33, S24-W34/35
    • 0.5

      Steps to reproduce:

      1. Open: Users-> User role -> Create
      2. Select User type -> Super Admin
      3. Add API methods that are available only for Super Admin (for example: Action delete / create)
      4. Change the User type to User
      5. Observe that selected Super Admin API methods are still selected, fill necessary fields, save the role.
      6. Observe results.

      Result:
      The created User type role have the Super Admin's API methods displayed in the allow list. Note: methods are not working for the role, so it is only wrong information displayed on the FE.

      See video:

      Expected:
      The methods should be updated/removed from allow / deny list, depending on the user type of a role.

        1. image-2024-07-29-09-52-38-703.png
          9 kB
          Deniss Ponomarenko
        2. user-role-api-issue.gif
          3.14 MB
          Nikita Gogolevs

            iivs Ivo Kurzemnieks
            ngogolevs Nikita Gogolevs
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4h Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 25.85h
                25.85h