-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.4.5, 8.0.0alpha2 (master)
When no host is specified in the trigger list filter, the hostid is missing from the link of the trigger displayed in the “Depends on” list. As a result, the super admin user receives an access denied error when clicking on that trigger.
Steps to reproduce:
- Login under super-admin,
- Navigate to the trigger list,
- Clean page filter (remove hosts from it),
- Select one trigger from "Depends on" list and click on it.
Result: Access denied error message.
Link content:
href="zabbix.php?action=popup&popup=trigger.edit&triggerid=22387&hostid=0&context=host"
Expected: When host is selected, admin is able to open the same dependent trigger form.
Link content:
href="zabbix.php?action=popup&popup=trigger.edit&triggerid=22387&hostid=10084&context=host"