Skip to content

Commit

Permalink
[Fix] :: SecurityConfig fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwk42 committed May 22, 2024
1 parent 792beea commit 0d34ce2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.requestMatchers(POST,"/attendance/code").permitAll()

.requestMatchers("/outing-admin/**").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers(GET,"/attendance/list").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers(GET,"/attendance/check").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers(GET,"/attendance/non-check").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers("/sleepover-admin/**").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers(GET,"/user-admin/find-all").hasAnyAuthority(ADMIN,TEACHER)
.requestMatchers(GET,"/user-admin/search").hasAnyAuthority(ADMIN,TEACHER)
Expand Down

0 comments on commit 0d34ce2

Please sign in to comment.