Fix/comments permissions

https://www.openproject.org/work_packages/14430
That's nice and clear and fine with me. Requires a small change in the code though.