Skip to content

Introduce may manage mailboxes permissions

Johannes requested to merge Jo-introduce-mayManageMailboxes-permissions into master

What does this MR do?

Extends MailboxPermissions.php to a mayManageMailboxes() and mayAddMailboxes() method and use it for current permission checks.

Introduce permissions for mailbox administration. For now there are no additional permissions given.

Removed the entry from the menu if permission is false. This MR would allows to extend the permissions to a work-group later on. Slightly related to #34 (closed)

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

Merge request reports