mirror of https://github.com/usbharu/Hideout.git
fix: GET /api/v1/filters の設定を間違えていたので修正
This commit is contained in:
parent
0a1ca54856
commit
a9a5735338
|
@ -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"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue