Ad Widget

Collapse

Permission problem of Maintenance setting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • taekwonv
    Junior Member
    • Feb 2012
    • 3

    #1

    Permission problem of Maintenance setting

    Hi all,

    I noticed that a user which is Zabbix Admin is not able to create or edit any maintenance in Configuration at all. I did debug the source code and I think I found the cause. Please see the change and feel free to make an comment if this is not correct.

    zabbix version : 1.9.8
    source code : frontends\php\include\perm.inc.php
    Line : 323
    Original code
    else if($processed[$group_data['groupid']] > $group_data['permission'])
    Fixed code
    else if($processed[$group_data['groupid']] < $group_data['permission'])
    This fix resolved my problem so that Any Zabbix admin account should be able to create and edit Maintenance item if the account has a right for their group.

    Thanks,

    Tae Hyun Kim
Working...