staff can't apply unless it's by application
This commit is contained in:
parent
5fed9fef17
commit
fad06ab1c1
1 changed files with 0 additions and 2 deletions
|
@ -36,8 +36,6 @@ def can_apply(team, user):
|
||||||
state = team.get_state_for_user(user)
|
state = team.get_state_for_user(user)
|
||||||
if team.access == "application" and state is None:
|
if team.access == "application" and state is None:
|
||||||
return True
|
return True
|
||||||
elif user.is_staff and state is None:
|
|
||||||
return True
|
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue