Refactor wallPost and fix wall permissions
Closes #537 (closed)
What does this MR do?
It tidies up the wallpost module. On the way, I found a fix for the mentioned issue.
I have changed the following permissions:
Orga can now write usernotes Orga and reportsteam can now delete report notes Not everybody is able to delete FoodSharePoint posts anymore.
How confident are you it won't break things if deployed?
Quite good.
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))