Org admins should be able to view all teams.
This commit is contained in:
parent
f8d3c95b74
commit
d14a292896
1 changed files with 2 additions and 1 deletions
|
@ -120,8 +120,9 @@ class ViewTeamPermission(Permission):
|
|||
team_admin = _TeamNeed(org_name, team_name, 'admin')
|
||||
team_creator = _TeamNeed(org_name, team_name, 'creator')
|
||||
team_member = _TeamNeed(org_name, team_name, 'member')
|
||||
admin_org = _OrganizationNeed(org_name, 'admin')
|
||||
super(ViewTeamPermission, self).__init__(team_admin, team_creator,
|
||||
team_member)
|
||||
team_member, admin_org)
|
||||
|
||||
|
||||
@identity_loaded.connect_via(app)
|
||||
|
|
Reference in a new issue