Greetings,
Currently we have a team of about 25 people who check the triggers regularly on our Zabbix server. Additionally, we are in the process of adding a new macro to support trigger messages using the trigger comment system. Anyway, while testing it out I found a bug that, while it doesn't break anything it has the potential to.
Normally, if there is no comment attached to a trigger, the tr_status page shows 'Add' next to the trigger, any user can click on 'Add' and type in a comment, unfortunately, the only people who can actually save that are people who have comment write access. The enclosed patch disables the update / add display unless the user has write permission. Please note that users can still read comments, just not update / add them.
Currently we have a team of about 25 people who check the triggers regularly on our Zabbix server. Additionally, we are in the process of adding a new macro to support trigger messages using the trigger comment system. Anyway, while testing it out I found a bug that, while it doesn't break anything it has the potential to.
Normally, if there is no comment attached to a trigger, the tr_status page shows 'Add' next to the trigger, any user can click on 'Add' and type in a comment, unfortunately, the only people who can actually save that are people who have comment write access. The enclosed patch disables the update / add display unless the user has write permission. Please note that users can still read comments, just not update / add them.