If a user that has limited rights to only certain groups gets "ERROR: No permissions." when trying to "Add" a graph, screen or map to their favorites view using the short menu.
Note: This does not happen for user who have read-only access to everything but only users who have limited rights to only certain groups.
For example:
A user with access to a few groups does the following:
1. In Monitoring -> Dashboards
Clicks on the Menu in the "Favorite Graphs" panel to add a graph.

2. User Clicks on "Add Graph"

3. Following message is displayed:

This also happens for screens and map as well. Same behaviour also occurs when doing Bar Reports when selecting items with user having limited rights.
User Defines in defines.inc.php file:
Note: This does not happen for user who have read-only access to everything but only users who have limited rights to only certain groups.
For example:
A user with access to a few groups does the following:
1. In Monitoring -> Dashboards
Clicks on the Menu in the "Favorite Graphs" panel to add a graph.
2. User Clicks on "Add Graph"
3. Following message is displayed:
This also happens for screens and map as well. Same behaviour also occurs when doing Bar Reports when selecting items with user having limited rights.
User Defines in defines.inc.php file:
Code:
/* USER DEFINES */
define('ZBX_LOGIN_ATTEMPTS', 5);
define('ZBX_LOGIN_BLOCK', 30); // sec
define('TRIGGERS_OPTION_DISABLED', 0); // reserved
define('TRIGGERS_OPTION_ONLYTRUE', 1); // use 0 to disable
define('TRIGGERS_OPTION_ALL', 2); // use 0 to disable
define('TRIGGERS_OPTION_NOFALSEFORB', 0); // use 0 to disable
define('TRIGGER_FALSE_PERIOD', 1800); // 30min, 0 - disable
define('TRIGGER_BLINK_PERIOD', 1800); // 30min, 0 - disable
define('EVENTS_OPTION_DISABLED', 0); // reserved
define('EVENTS_OPTION_NOEVENT', 1); // use 0 to disable
define('EVENTS_OPTION_ALL', 2); // use 0 to disable
define('EVENTS_OPTION_NOT_ACK', 3); // use 0 to disable
define('EVENTS_OPTION_ONLYTRUE_NOTACK', 4); // use 0 to disable
define('EVENTS_OPTION_NOFALSEFORB', 5); // reserved for TRIGGERS_OPTION_NOFALSEFORB, to disable set TRIGGERS_OPTION_NOFALSEFORB to 0
define('ZBX_MIN_PERIOD', 3600); // ~1 hour
define('ZBX_MAX_PERIOD', 12*31*24*3600); // ~1 year
define('ZBX_PERIOD_DEFAULT', ZBX_MIN_PERIOD);
define('ZBX_DROPDOWN_FIRST_ENTRY', 0); // 0 - NONE, 1 - ALL
define('ZBX_DROPDOWN_FIRST_REMEMBER', 1); // 0 - do NOT remember, 1 - do remember
define('ZBX_DROPDOWN_FIRST_ENTRY_TR_STATUS', 1); // 0 - NONE, 1 - ALL
define('ZBX_DISABLE_MENU_CACHE', 0); // set 1 to disable
Comment