Hey!
I just brought this Patch to Zabbix 2.0.4, works fine so far. You will find my changes to "blocks.inc.php" in the attached diff file.
Intention ist to use the comment as sort of knowledge article, so Information for solving the issue is integrated into the trigger template.
If the user follows the link to "tr_comments.php?triggerid=", he will see the comment and also could change this information.
I would like to give the user a read-only view of the comments at this point but without changing user permission because he should still be able to change comments in the template.
I already tried to call "tr_comments.php" without the Session ID so the Save-Button would not be shown, but that doesn't work due to the cookie SID.
Also there should be as less alteration of the code as possible!
Thanks in advance!
I just brought this Patch to Zabbix 2.0.4, works fine so far. You will find my changes to "blocks.inc.php" in the attached diff file.
Intention ist to use the comment as sort of knowledge article, so Information for solving the issue is integrated into the trigger template.
If the user follows the link to "tr_comments.php?triggerid=", he will see the comment and also could change this information.
I would like to give the user a read-only view of the comments at this point but without changing user permission because he should still be able to change comments in the template.
I already tried to call "tr_comments.php" without the Session ID so the Save-Button would not be shown, but that doesn't work due to the cookie SID.
Also there should be as less alteration of the code as possible!
Thanks in advance!