Merge branch 'orgs' of https://bitbucket.org/yackob03/quay into orgs

This commit is contained in:
Joseph Schorr 2013-11-04 16:39:34 -05:00
commit 920d4edfbc

View file

@ -118,8 +118,8 @@ class OrganizationMemberPermission(Permission):
class ViewTeamPermission(Permission):
def __init__(self, org_name, team_name):
team_admin = _TeamNeed(org_name, team_name, 'admin')
team_creator = _TeamNeed(org_name, 'creator')
team_member = _TeamNeed(org_name, 'member')
team_creator = _TeamNeed(org_name, team_name, 'creator')
team_member = _TeamNeed(org_name, team_name, 'member')
super(ViewTeamPermission, self).__init__(team_admin, team_creator,
team_member)