staff can't apply unless it's by application

This commit is contained in:
James Tauber 2012-08-03 01:24:43 -04:00
parent 5fed9fef17
commit fad06ab1c1

View file

@ -36,8 +36,6 @@ def can_apply(team, user):
state = team.get_state_for_user(user)
if team.access == "application" and state is None:
return True
elif user.is_staff and state is None:
return True
else:
return False