Skip to content

Commit a89aba7

Browse files
committed
refator: log 권한 변경
- 기록 조회 전체 가능
1 parent 1642ad9 commit a89aba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/BANnerIt/server/global/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
3535
.exceptionHandling(exception -> exception
3636
.authenticationEntryPoint(customAuthenticationEntryPoint))
3737
.authorizeHttpRequests(authz -> authz
38-
.requestMatchers("/users/signup", "/users/login", "/oauth2/**", "/oauth/validate", "/oauth/refresh").permitAll()
38+
.requestMatchers("/users/signup", "/users/login", "/oauth2/**", "/oauth/validate", "/oauth/refresh", "/reports/logs").permitAll()
3939
.requestMatchers("/banners/update").hasRole("ADMIN")
4040
.anyRequest().authenticated()
4141
)

0 commit comments

Comments
 (0)