[ZBX-20328] Error creating the trigger in the template as no items are created due lack of access rights to some hosts Created: 2021 Dec 08  Updated: 2024 Apr 10  Resolved: 2021 Dec 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 5.4.7
Fix Version/s: 5.0.19rc1, 5.4.9rc1, 6.0.0beta1, 6.0 (plan)

Type: Problem report Priority: Major
Reporter: Elina Kuzyutkina (Inactive) Assignee: Vladimirs Maksimovs
Resolution: Fixed Votes: 0
Labels: access, nested, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team C
Sprint: Sprint 83 (Dec 2021)
Story Points: 0.5

 Description   

A user with limited rights has rights to edit the template.
The template is nested to two other templates, to one of which the user does not have permission to edit and does not have access to the hostgroup of the template and hosts
The user adds an item to the template. The item appears only on those hosts to which the user has rights, no errors occur. Next, the user tries to add a trigger with this item to the template. An error occurs that a certain host does not have such item.

The trigger could not be created in the templates section because the item was not replicated to the host. In turn, the item on the host does not bind due to the lack of rights (on the host) of the user

The most probably items should be created on each host the template is linked (even via nested templates)



 Comments   
Comment by Vladimirs Maksimovs [ 2021 Dec 09 ]

Fixed in development branches:

Comment by Alexander Vladishev [ 2021 Dec 10 ]

Available in:

Generated at Fri Apr 11 08:54:55 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.