From 1ae074052f617c1399b7e7ca9d8257356ce3c587 Mon Sep 17 00:00:00 2001 From: lgwk42 Date: Mon, 24 Jun 2024 23:01:49 +0900 Subject: [PATCH] fix :: SecurityConfig fix --- .../project/qvick/global/security/config/SecurityConfig.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java b/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java index 8cddb7cc..276e016b 100644 --- a/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java +++ b/src/main/java/com/project/qvick/global/security/config/SecurityConfig.java @@ -64,11 +64,6 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, CorsConfigurat .requestMatchers(PATCH,"/user/stdId").hasAuthority(USER) .requestMatchers(PATCH,"/user/room").hasAuthority(USER) - .requestMatchers("/school/**").hasAuthority(ADMIN) - .requestMatchers(GET,"/user-admin/await-user").hasAuthority(ADMIN) - .requestMatchers(PATCH,"/user-admin/approve").hasAuthority(ADMIN) - .requestMatchers(PATCH,"/user-admin/reject").hasAuthority(ADMIN) - .anyRequest().authenticated() ) .addFilterAfter(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)