[ZBX-8457] User must have access to templates to get macro value in "Last 20 issues". Created: 2014 Jul 09 Updated: 2017 May 30 Resolved: 2017 Jan 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.2.4 |
Fix Version/s: | 2.2.16rc1, 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Minor |
Reporter: | Rob Northen | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | macros, permissions, templates | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Hi, I have "user" who sits in "user group" which have RO access to host group called "hosts". This "host" uses "template" for items and triggers. Some of triggers have {$MACROS} in Trigger Name. When I add RO access to "my_templates" in "user group" then problem disappears. Is it bug or feature? |
Comments |
Comment by Oleg Egorov (Inactive) [ 2016 Oct 10 ] |
(1) No string changes gunarspujats CLOSED |
Comment by Oleg Egorov (Inactive) [ 2016 Oct 10 ] |
RESOLVED in the development branch svn://svn.zabbix.com/branches/dev/ZBX-8457 r63062 for 2.2 |
Comment by Natalja Romancaka [ 2016 Oct 18 ] |
ui successfully tested |
Comment by Gunars Pujats (Inactive) [ 2016 Oct 18 ] |
Tested. |
Comment by Alexander Vladishev [ 2016 Oct 19 ] |
(2) Fixed performance regression in resolving of user macros directly in branches/2.2 r63281 gunarspujats CLOSED |
Comment by Oleg Egorov (Inactive) [ 2016 Oct 19 ] |
RESOLVED in the development branch svn://svn.zabbix.com/branches/dev/ZBX-8457-30 r63279 and 63282 for 3.0 |
Comment by Natalja Romancaka [ 2016 Oct 20 ] |
ui for 3.0 successfully tested |
Comment by Oleg Egorov (Inactive) [ 2016 Oct 21 ] |
Fixed in:
|
Comment by Vladimir Silin (Inactive) [ 2016 Oct 28 ] |
(3) "What's new in Zabbix" articles updated for versions 2.2.16, 3.0.6 and 3.2.2 sasha The user macros will be resolved on hosts if they are defined on templates without any permissions. "undefined permissions" is not correct here. The sentence must be rephrased. REOPENED martins-v Perhaps "User macros are now resolved on allowed hosts even if the macros are defined on a template that the user does not have permissions to." sasha Excellent! CLOSED |
Comment by Vladimir Silin (Inactive) [ 2016 Dec 16 ] |
"What's new in Zabbix" mentioned previously are fixed with approved text version. |
Comment by Alexander Vladishev [ 2017 Jan 19 ] |
Caused regression: |