Fix workgroup access
What does this MR do?
Fixes a mistake when refactoring the WorkGroup page that lead to effectively no permission checks for workgroup edit.
Maybe deploy as hotfix to production as well?
I also added a test...
How confident are you it won't break things if deployed?
test looks good.
Links to related issues
- 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))