fix: GET /api/v1/filters の設定を間違えていたので修正

This commit is contained in:
usbharu 2024-02-14 18:29:25 +09:00
parent 0a1ca54856
commit a9a5735338
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class SecurityConfig {
authorize(GET, "/api/v1/filters", hasAnyScope("read", "read:filters")) authorize(GET, "/api/v1/filters", hasAnyScope("read", "read:filters"))
authorize(POST, "/api/v1/filters", hasAnyScope("write", "write:filters")) authorize(POST, "/api/v1/filters", hasAnyScope("write", "write:filters"))
authorize(GET, "/api/v/filters/*", hasAnyScope("read", "read:filters")) authorize(GET, "/api/v1/filters/*", hasAnyScope("read", "read:filters"))
authorize(POST, "/api/v1/filters/*", hasAnyScope("write", "write:filters")) authorize(POST, "/api/v1/filters/*", hasAnyScope("write", "write:filters"))
authorize(DELETE, "/api/v1/filters/*", hasAnyScope("write", "write:filters")) authorize(DELETE, "/api/v1/filters/*", hasAnyScope("write", "write:filters"))