Your comments

Dear colleagues,


We need the same feature for ticket validation. Because 'Granted' button requires no comments in 90%  of our cases. 'Refused' and 'Granted with comments' can all be solved by following the link and dealing with GLPi ticket directly.


Two ideas:


1. Expand mailanalyzer plugin to parse special syntax:



Subject: Refused: [GLPI #0019945] Information resource access request

or

Subject: Granted: [GLPI #0019945] Information resource access request


[Approval comments in message body]


Upon matching subject keyword - approval is updated instead of followup insertion



2. Looks like we have RESTful API but only HTTP PUT-based


Need to add RESTful entry point which is GET-based like:


https://server/path/to/glpi/apirest.php/Ticket/0019945/Validation/2/?authmagic=YkM678ggggHid8NmpQQ8987668990&status=granted


Then in both cases I would be able to render hyperlink buttons in approval notification email.

authmagic is a random value allowing to bypass authentication in silly GET request.


To me it looks somewhat simpler than form-enabled emails. Your opinion?