Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 486422e

Browse files
committed
removing unused requestmatcher for admin endpoints, that wasn't being used
1 parent 230de2f commit 486422e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/zenfulcode/commercify/commercify/config/SecurityConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
3636
"/api/v1/auth/**",
3737
"/api/v1/products/active",
3838
"/api/v1/products/{id}").permitAll()
39-
.requestMatchers("/admin/**").hasRole("ADMIN")
4039
.anyRequest().authenticated()
4140
)
4241
.sessionManagement(smc -> smc.sessionCreationPolicy(SessionCreationPolicy.STATELESS))

0 commit comments

Comments
 (0)