Skip to content

Commit

Permalink
Merge pull request #215 from GSM-MSG/214-update/security-config-url
Browse files Browse the repository at this point in the history
# 214 check-status 접근권한 관련 행 변경
  • Loading branch information
JuuuuHong authored Mar 20, 2024
2 parents f6abcf3 + 80f498d commit c300c77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ class SecurityConfig(
.antMatchers(HttpMethod.GET, "/reservation/{id}").authenticated()
.antMatchers(HttpMethod.DELETE, "/reservation/{id}").hasAnyRole(STUDENT, ADMIN)
.antMatchers(HttpMethod.PATCH, "/reservation/{id}").hasAnyRole(STUDENT, ADMIN)
.antMatchers(HttpMethod.PATCH, "/reservation/{id}/check-status").hasAnyRole(TEACHER, ADMIN)
.antMatchers(HttpMethod.PATCH, "/reservation/{id}/{user_id}").hasAnyRole(STUDENT, ADMIN)
.antMatchers(HttpMethod.DELETE, "/reservation/{id}/exit").hasAnyRole(STUDENT, ADMIN)
.antMatchers(HttpMethod.PATCH, "/reservation/{id}/check-status").hasAnyRole(TEACHER, ADMIN)
.antMatchers(HttpMethod.DELETE, "/reservation/kill-all").hasRole(ADMIN)

// notice
Expand Down

0 comments on commit c300c77

Please sign in to comment.