A restricted user who can only access certain host groups, gets a permission denied message when trying to add an item to the Bar Reports.
Ad Widget
Collapse
Version Pre 1.7.0 Build 6760 - Bar Reports - Permission Problems
Collapse
X
-
Tags: None
-
This does not happen to a user that has read-only access to every group but only to a user that has restricted read-only access to certain groups.
So if a restricted user does the following a permission error is thrown.
1. User clicks on "Reports"
2. User clicks on "Bar reports"
3. User then clicks on the "Add" button to add "Items" to the report:
4. User then clicks on the "Select" button to add "Parameters" to the report.
5. User is thrown the following popup message:
Please let me know if you need additional information.Last edited by Palmertree; 27-02-2009, 04:08.Comment
-
Here is the fix:
Code:diff -ruN zabbix-original/frontends/php/include/page_header.php zabbix/frontends/php/include/page_header.php --- zabbix-original/frontends/php/include/page_header.php 2009-02-28 10:03:40.000000000 -0500 +++ zabbix/frontends/php/include/page_header.php 2009-03-01 15:09:16.000000000 -0500 @@ -160,7 +160,8 @@ 'sub_pages'=>array('report3.php','report7.php','chart_sla.php','chart5.php') ), array('url'=>'vtext.php'), - array('url'=>'chart3.php') + array('url'=>'chart3.php'), + array('url'=>'popup.php') ) ), 'cm'=>array(Comment
Comment