Skip to content
Snippets Groups Projects
Commit 61e4f8bc authored by Roang's avatar Roang
Browse files

Refactor the ConferenceMember permission check

* Make has_perms a single method that takes a list of permissions and
  optional flags for requiring all permissions and staff status.
* Remove has_staff_permission method (replaced by has_perms).
* Remove has_perm method (replaced by has_perms).
* Update all calls to has_staff_permission and has_perm to use has_perms.
* Update docs for has_conference_staff_permission to reflect the changes
  in ConferenceMember.
* Normalize permissions to always use the 'core.' prefix.
parent fb27b1a0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment