[ZBX-9213] Link to no permission page Created: 2015 Jan 13  Updated: 2017 Jun 11  Resolved: 2017 Jun 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.4rc1, 3.0.9rc1, 3.2.5rc1, 3.4.0alpha1
Fix Version/s: 3.0.10rc1, 3.2.7rc1, 3.4.0alpha1

Type: Problem report Priority: Trivial
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: link, permissions, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File link.png    
Sprint: Sprint 3, Sprint 4, Sprint 5, Sprint 6, Sprint 7, Sprint 8, Sprint 9
Story Points: 0.5

 Description   

Template with read permissions

But if click on that.

ERROR: No permissions to referred object or it does not exist!



 Comments   
Comment by Miks Kronkalns [ 2017 Mar 17 ]

(1) No translation string changes.

iivs CLOSED

Comment by Miks Kronkalns [ 2017 Mar 17 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-9213

Comment by Natalja Romancaka [ 2017 Mar 22 ]

(2) [F] the same behaviour:

  • Configuration->Hosts - column Templates
  • Configuration->Host - tab Linked templates
  • Configuration->Host->Discovery rules->Host prototypes - column Templates
  • Configuration->Host->Discovery rules->Host prototype - tab Templates
  • Configuration->Templates - column Linked templates (Linked to)
  • Configuration->Template->Discovery rules->Host prototypes - column Templates
  • Configuration->Template->Discovery rules->Host prototype - tab Templates
  • For templated items, triggers, graphs, etc. in lists (column Name) and in edit form (Link to parent)

Miks.Kronkalns Also found in:

  • Configuration->Host groups - column Members
  • Configuration->Host->tab Macros-> subtab Inherited and host macros

Miks.Kronkalns RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-9213 r66685

iivs In 3.0 branch: the host prototype "Templates" column is incorrectly fixed. The writable templates are now missing links.

REOPENED

Miks.Kronkalns RESOLVED in r68543.

iivs CLOSED

Comment by Miks Kronkalns [ 2017 Apr 27 ]

(4) [F] Related issue: if user have no access to host, but he/she can access configuration -> templates section, then the column 'Linked to' may contain also uneditable hosts with links to host edit form.

Miks.Kronkalns RESOLVED in same branch and revision since problem has been observed only in one place:

  • svn://svn.zabbix.com/branches/dev/ZBX-9213_30 r67625
  • svn://svn.zabbix.com/branches/dev/ZBX-9213 r67628

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(5) Fix coding style:

  • About comments: sentences must start and end with a dot. Some of those sentences don't make much sense. For example "Select hosts used and test permissions". What that block does, is actually gathers writable template *ID*s. Nothing is being tested there. & is not a word. Two different words with same meaning in same sentence look weird;
  • Fix wrong indentations and caselCase usages;
  • array_keys(array_flip($hostids)); is 50x faster than array_unique($hostids);;
  • $data should be used instead of $this->data;
  • Lines overflow;

Miks.Kronkalns RESOLVED in r68546, r68547, r68549.

iivs A lot of mistakes were made.
RESOLVED in r68742

Miks.Kronkalns CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(6) Graphs are not fixed.

Miks.Kronkalns Moved to ZBX-12217.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(7) Item prototypes are not fixed.

Miks.Kronkalns Moved to ZBX-12218.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(8) Trigger prototype are not fixed.

Miks.Kronkalns Moved to ZBX-12219.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(9) Graph prototypes are not fixed.

Miks.Kronkalns Moved to ZBX-12220.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(10) Host prototypes are not fixed.

Miks.Kronkalns Moved to ZBX-12223.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 02 ]

(11) Web scenarios are not fixed.

Miks.Kronkalns Moved to ZBX-12221.

CLOSED

Comment by Ivo Kurzemnieks [ 2017 May 31 ]

(12) Revert changes made in host group list. It's not possible to see readable elements in the list anyway.

Miks.Kronkalns RESOLVED in r68783.

iivs CLOSED

Comment by Anna Kucenko (Inactive) [ 2017 Jun 05 ]

UI tested

Comment by Miks Kronkalns [ 2017 Jun 06 ]

Fixed:

  • 3.0.10rc1 r68936
  • 3.2.7rc1 r68947
  • 3.4.0alpha1 (trunk) r68950
Generated at Thu Jan 09 08:55:46 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.