Permit script assets content

This commit is contained in:
2026-01-12 15:21:46 +01:00
parent 22f8724439
commit ab3cff80ea

View File

@@ -75,6 +75,8 @@ public class SecurityConfig {
.permitAll() .permitAll()
.requestMatchers(HttpMethod.GET, "/api/channels/*/canvas") .requestMatchers(HttpMethod.GET, "/api/channels/*/canvas")
.permitAll() .permitAll()
.requestMatchers(HttpMethod.GET, "/api/channels/gasolinebased/script-assets/*/attachments/*/content")
.permitAll()
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/content") .requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/content")
.permitAll() .permitAll()
.requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/preview") .requestMatchers(HttpMethod.GET, "/api/channels/*/assets/*/preview")