Org admins should be able to view all teams.

This commit is contained in:
yackob03 2013-11-04 16:44:38 -05:00
parent f8d3c95b74
commit d14a292896

View file

@ -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)