Skip to content

Commit

Permalink
Merge pull request #164 from Team-INSERT/feat/#163
Browse files Browse the repository at this point in the history
대회 권한 핸들링 수정
  • Loading branch information
anys34 authored Sep 21, 2024
2 parents aff519f + 03d921f commit 0673bc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Contest(String title, LocalDateTime startTime, LocalDateTime endTime, Aut
}

public void checkRole(Authority authority) {
if (authority == Authority.USER) return;
if (this.authority == Authority.USER) return;
if (this.authority == authority) return;
if (this.authority == Authority.ADMIN) return;

Expand Down

0 comments on commit 0673bc4

Please sign in to comment.