From f8d3c95b74e0e5e6fe4d9837310068cf8451d02c Mon Sep 17 00:00:00 2001 From: yackob03 Date: Mon, 4 Nov 2013 16:39:52 -0500 Subject: [PATCH] Fix a typo in the team need permissions. --- auth/permissions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/permissions.py b/auth/permissions.py index b95138d08..c90c75e04 100644 --- a/auth/permissions.py +++ b/auth/permissions.py @@ -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)