Use eventPermission to allow seeing and posting pinboard comments in events
What does this MR do?
Use eventPermission
class to check if someone is allowed to see and post comments this way. Previously it was not possible to do both if you were new to the district. This logic now follows the logic of being able to see a event.
Also finally solved one of these code-todos with this change :)
How confident are you it won't break things if deployed?
Should work
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Chris Oelmueller