Skip to content

Commit

Permalink
Merge pull request #287 from GSM-MSG/286-update/user-list-authority
Browse files Browse the repository at this point in the history
🔀 :: user list 인증된 권한은 조회할 수 있도록 변경
  • Loading branch information
KimTaeO authored Mar 7, 2024
2 parents fa0166f + 8c89beb commit 285383f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ class SecurityConfig(
.antMatchers(HttpMethod.GET, "/user/role").authenticated()
.antMatchers(HttpMethod.PATCH, "/user/profile").authenticated()
.antMatchers(HttpMethod.PATCH, "/user/password").authenticated()
.antMatchers(HttpMethod.GET, "/user/user-list").authenticated()
.antMatchers(HttpMethod.PATCH, "/user/accept-teacher").hasRole("ADMIN")
.antMatchers(HttpMethod.GET, "/user/pending").hasRole("ADMIN")
.antMatchers(HttpMethod.PATCH, "/user/accept-student").hasRole("ADMIN")
.antMatchers(HttpMethod.PATCH, "/user/accept-user/{id}").hasRole("ADMIN")
.antMatchers(HttpMethod.GET, "/user/user-list").hasRole("ADMIN")
.antMatchers(HttpMethod.DELETE, "/user/reject/{id}").hasRole("ADMIN")

//image
Expand Down

0 comments on commit 285383f

Please sign in to comment.