Introduce very basic permissions for FAQ editing
What does this MR do?
Extends FAQPermissions.php
to a mayEditFAQ()
method and use it for current permission checks.
Introduce very basic permissions for FAQ editing. Removes the menu entry if false. For now this only replaces orga permissions in accessing the FAQ admin tool
How confident are you it won't break things if deployed?
Quite!
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)) -
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 Johannes