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

Service.get API call ignores permissions

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.0.5rc1
    • API (A)

      {
      "serviceids": [
      25,
      31
      ],
      "selectTrigger": 1,
      "filter":

      { "triggerid": [ 14814, 14815, 14816 ] }

      }

      with this code I get access to services though user doesn't have access to triggers assigned to services

      response:

      {
      "jsonrpc": "2.0",
      "result": [
      {
      "serviceid": "25",
      "triggerid": "14814",
      "trigger":

      { "triggerid": "14814" }

      },
      {
      "serviceid": "31",
      "triggerid": "14815",
      "trigger":

      { "triggerid": "14815" }

      }
      ],
      "id": 2
      }

            Unassigned Unassigned
            tomtom Toms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: