We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93f6f02 commit 2e58d4bCopy full SHA for 2e58d4b
backend/src/main/java/io/f1/backend/global/config/SecurityConfig.java
@@ -55,6 +55,10 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
55
.hasRole("ADMIN")
56
.requestMatchers("/auth/me")
57
.hasAnyRole("USER", "ADMIN")
58
+ .requestMatchers("/quizzes/**")
59
+ .hasAnyRole("USER", "ADMIN")
60
+ .requestMatchers("/questions/**")
61
62
.anyRequest()
63
.authenticated())
64
.formLogin(
0 commit comments