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

User group "No access to the frontend" blocks API execution.

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 5.0.38, 6.0.22, 6.4.7, 7.0.0alpha5
    • API (A), Frontend (F)

      Steps to reproduce:

      1. Create new API user;
      2. Add groups "Internal users", "No access to the frontend";
      3. Add super admin role to this user;
      4. Log out and try to sign in to the user;
      5. Observe, that you receive error "No permissions for system access."
      6. Open console and execute curl command:
      curl -k -w "\n" -s -X POST -H 'Content-Type: application/json-rpc' -d '
      {"jsonrpc":"2.0","method":"user.login",
      "params": {"username":"zabbix_api","password":"yourpassword"},
      "id":1,"auth":null}
      ' http://yourIP/master/api_jsonrpc.php 

      Result:

      Expected:
      API successfully executed, result received.

        1. def.png
          28 kB
          Tomass Olups

            zabbix.dev Zabbix Development Team
            tolups Tomass Olups (Inactive)
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: