hostgroup.create fails with admin role since 7.2.10 to 7.4.0 upgrade

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      rhel9.6 zabbix-7.4.0

      Steps to reproduce:

      1. Update Zabbix to 7.4.0
      2. Setup a user with admin role
      3. Setup the admin role to allow any api calls and with an empty deny list for api call action.
      4. Create an api auth token
      5. Try to create a hostgroup with the api
      6. See a permission error

      Result:

               "json": {
                   "error": {
                       "code": -32500,
                       "data": "No permissions to call \"hostgroup.create\".",
                       "message": "Application error."
      

      Expected:
      Having it working fine as it did in 7.2.10 before upgrading to 7.4.0

      Additional Info:

      • hostgroup.get works fine with the same auth token
      • changing the same users to use superadmin role makes hostname.create work in 7.4.0

            Assignee:
            Zabbix Development Team
            Reporter:
            Rudolf Kastl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: