File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sms-infrastructure/src/main/kotlin/team/msg/sms/global/security Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ class SecurityConfig(
63
63
.antMatchers(HttpMethod .POST , " /student/link" ).hasAuthority(TEACHER )
64
64
.antMatchers(HttpMethod .GET , " /student/link" ).permitAll()
65
65
.antMatchers(HttpMethod .GET , " /student/{uuid}" ).hasAnyAuthority(STUDENT , TEACHER )
66
+ .antMatchers(HttpMethod .PUT , " /student/pdf" ).hasAuthority(STUDENT )
66
67
.antMatchers(HttpMethod .GET , " /student/anonymous/{uuid}" ).permitAll()
67
68
68
69
.antMatchers(HttpMethod .POST , " /teacher/common" ).hasAuthority(TEACHER )
@@ -95,7 +96,7 @@ class SecurityConfig(
95
96
96
97
.antMatchers(HttpMethod .GET , " /stack/list" ).permitAll()
97
98
98
- .anyRequest().authenticated ()
99
+ .anyRequest().denyAll ()
99
100
100
101
http
101
102
.apply (FilterConfig (jwtParser, objectMapper))
You can’t perform that action at this time.
0 commit comments