Fix for broken WallPost Permissions
Closes (parts of) #352 (closed) & #718 (closed)
What does this MR do?
Fixes for cases where walls broke after !1353 (merged).
- Allows Orgas to delete all posts from foodshare poin walls
- Allows workgroup admins to see walls for applicants again
How confident are you it won't break things if deployed?
Should at least not break more walls.
Links to related issues
Any relevant links (issues, documentation, slack discussions).
How to test
Steps a reviewer can take to verify that this MR does what it says it does e.g.
- Checkout branch locally
- Login as Orga
- Go to fairteiler
- Delete some posts
1️⃣ - Go to region settings
- Make a second user admin for a workgroup
- Login as thirs user
- Apply for that workgroup
- Login as second user
- Go to applicants page for your group
- Be able to post to wall and see those posts
2️⃣
Screenshots (if applicable)
Any relevant screenshots if this is a design / frontend change
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)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Dominik Hayon