Deactivate Admin Endpoints)
This commit is contained in:
parent
164e8b5894
commit
db025e42c3
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ public class SecurityConfig {
|
||||||
.requestMatchers(HttpMethod.GET, "/api/activities/user/*").permitAll()
|
.requestMatchers(HttpMethod.GET, "/api/activities/user/*").permitAll()
|
||||||
|
|
||||||
// Debug endpoints (dev only)
|
// Debug endpoints (dev only)
|
||||||
.requestMatchers("/api/debug/**").permitAll()
|
.requestMatchers("/api/debug/**").denyAll()
|
||||||
|
|
||||||
// Public endpoints - Likes and Comments (GET only)
|
// Public endpoints - Likes and Comments (GET only)
|
||||||
.requestMatchers(HttpMethod.GET, "/api/activities/*/likes").permitAll()
|
.requestMatchers(HttpMethod.GET, "/api/activities/*/likes").permitAll()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue