fixed show phone number
This commit is contained in:
@@ -64,6 +64,8 @@ public class SecurityConfig {
|
||||
.requestMatchers(HttpMethod.POST, "/api/v1/reviews/**").authenticated()
|
||||
.requestMatchers(HttpMethod.PUT, "/api/v1/reviews/**").authenticated()
|
||||
.requestMatchers(HttpMethod.DELETE, "/api/v1/reviews/**").authenticated()
|
||||
// показ номера — без регистрации, защищён proof-of-work и лимитами (PhoneRevealService)
|
||||
.requestMatchers(HttpMethod.POST, "/api/v1/posts/*/phone").permitAll()
|
||||
.requestMatchers(HttpMethod.POST, "/api/v1/posts/**").authenticated()
|
||||
.requestMatchers(HttpMethod.PUT, "/api/v1/posts/**").authenticated()
|
||||
.requestMatchers(HttpMethod.DELETE, "/api/v1/posts/**").authenticated()
|
||||
|
||||
Reference in New Issue
Block a user