[ZBX-5108] "Zabbix Admin" has no permission to configure Hosts Created: 2012 May 31  Updated: 2017 May 30  Resolved: 2012 Aug 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0
Fix Version/s: 2.0.2rc1, 2.0.3rc1, 2.1.0

Type: Incident report Priority: Critical
Reporter: Melanie te Laake Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: permissions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File host_configuration.gif     GIF File host_configuration2.gif     GIF File host_create.gif     GIF File host_delete.gif     GIF File user_permissions.gif    
Issue Links:
Duplicate
is duplicated by ZBX-5416 Undefined index when deleting an item Closed

 Description   

User with user type "Zabbix Admin" cannot create, edit or delete Hosts.

User group has Read-write access for every Host group.
Configuring of Host goups, Items and Triggers works fine.

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



 Comments   
Comment by Alexei Vladishev [ 2012 Jun 18 ]

Please give us screenshots of all relevant information.

Comment by Melanie te Laake [ 2012 Jun 18 ]

This error occurs when updating / creating a host or a template.

Is there anything else that you consider as relevant information?

Comment by Mantas Klasavicius [ 2012 Jun 18 ]

We have exactly same issue

Comment by Alexei Vladishev [ 2012 Jun 18 ]

I cannot reproduce it, tried everything. What database do you use? Fresh install or upgrade from 1.8.x?

Comment by Mantas Klasavicius [ 2012 Jun 19 ]

We migrated 1.8.5 -> 2.0.0RC3 -> 2.0.0RC5 -> 2.0.0

Comment by Melanie te Laake [ 2012 Jun 19 ]
  • Upgrade from 1.8.11 (fresh install) to 2.0.0
  • Ubuntu 10.04.4 LTS
  • MySQL 5.1.63
Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 22 ]

Did I understand correctly, that you can open the configuration form of the host, but you cannot perform any changes? Could you please enable debug mode, try to delete the host, and post a screenshot of the error message? It should be useful.

Comment by Melanie te Laake [ 2012 Jun 22 ]

Yes, you understood it correctly. I can open the creation / configuration forms. But I realized that deleting a host also works fine. I didn't check this before, so only creating and changing a host don't work!

I posted screenshots with debug mode on, one after deleting a host and one after trying to create a host. I hope this is what you asked for.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 22 ]

Thank you for the screenshots, I believe now I have an idea, where the error happens.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 27 ]

Melanie, thanks a lot for the provided data, couldn't have done it without it =)

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

Comment by Alexey Fukalov [ 2012 Jun 27 ]

(1)
Please review my change in rev.28456.

<pavels> Right, CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Jun 28 ]

Fixed 2.0 r28514 and trunk r28515.

CLOSED.

Comment by Toms (Inactive) [ 2012 Jul 31 ]

(2) Deleting item from template (which is linked to host) from item list view causes undefined index:

Deleted: Item "asd" on "tt".
Undefined index: 26288 [items.php:624]
reset() expects parameter 1 to be array, null given [items.php:625]
Undefined index: key_ [items.php:627]
Undefined index: itemid [items.php:627]

<pavels> RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-5108.

<Toms> CLOSED

<pavels> Fixed in 2.0.3rc1 r29361 and 2.1.0 r29378.

Comment by richlv [ 2012 Aug 01 ]

this resulted in a regression for dynamic screens : ZBX-5399

Comment by richlv [ 2012 Aug 17 ]

another regression was ZBX-5465

Generated at Fri Apr 26 00:40:09 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.