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

Incorrect behavior after user changes templated discovery rules

XMLWordPrintable

      Steps to reproduce:

      1. Create Template T1 in Host group G1 and Discovery rule Rule1 on this Template.
      2. Create Template T2 in Host group G2 and link it to T1.
      3. Create Host H0 in Host group G0 and link it to Template T2.
      4. Create User1 with following permissions:
        1. User type Zabbix Admin
        2. G0 - Read and Write,
        3. G1 - Read and Write,
        4. G2 - Deny or None
      5. Login with User1 and open Configuration ->Templates -> T1.
      6. Change Discovery rule Rule1. For ex. change name "Rule1" to "DRule1.1"
        Result:
        Observe that name is changed only on Template level, but on Host H0 Discovery rule inherited from T1->T2-> remained with old name "Rule1".
      7. If you make changes from Step #6 with Zabbix Super Admin profile, Discovery rule changes on all levels - Template and Host.

      Expeted result
      Probably User1 should get error that Discovery rule cannot be changed, because it is inherited from inaccessible Template (T2).

      The same issue is actual for Discovery rule Creation, but NOT ACTUAL for Deletion.
      If user deletes rule on T1, then it will be deleted also on Host H0, tha same as with SuperAdmin user.

            zabbix.dev Zabbix Development Team
            lgrigorjeva Larisa Grigorjeva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: