Skip to content

Commit

Permalink
simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Apr 5, 2024
1 parent f0b93b9 commit dccd04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameserver/models/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def is_accessible_by(self, user):
if self.is_editable_by(user):
return True

return self.is_public and not self.organizations.exists()
return self.is_public

def is_editable_by(self, user):
if not user.is_authenticated:
Expand Down

0 comments on commit dccd04a

Please sign in to comment.