Make sure admin is visible to staff users
All checks were successful
Tests / test (push) Successful in 25s
All checks were successful
Tests / test (push) Successful in 25s
This commit is contained in:
parent
3f8901aa93
commit
5feabda513
1 changed files with 2 additions and 0 deletions
|
@ -25,3 +25,5 @@ def is_organization_admin(user, org):
|
|||
@rules.predicate
|
||||
def is_organization_member(user, org):
|
||||
return has_organization_role(user, org, None)
|
||||
|
||||
rules.add_perm("core", rules.is_staff)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue