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

Monitoring->Events with Source = Discovery always check permissions for triggers (for non Super-Admin users)

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.5rc1, 2.1.0
    • Fix Version/s: 2.0.5rc1
    • Component/s: API (A), Frontend (F)
    • Labels:
    • Environment:
      # php -v
      PHP 5.3.13-pl0-gentoo (cli) (built: May 25 2012 15:20:59)
      Copyright (c) 1997-2012 The PHP Group
      Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

      Description

      The problem in the CEvent class:
      if ($options['object'] == EVENT_OBJECT_TRIGGER || $options['source'] == EVENT_SOURCE_TRIGGERS) {

      if $options['object'] is not defined, it is always equal 0.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dotneft Alexey Pustovalov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: