mirror of https://github.com/usbharu/Hideout.git
feat: ミュートAPIの権限の設定を追加
This commit is contained in:
parent
d204cfc37f
commit
94cc109dce
|
@ -200,6 +200,9 @@ class SecurityConfig {
|
||||||
authorize(POST, "/api/v1/accounts/*/unfollow", hasAnyScope("write", "write:follows"))
|
authorize(POST, "/api/v1/accounts/*/unfollow", hasAnyScope("write", "write:follows"))
|
||||||
authorize(POST, "/api/v1/accounts/*/block", hasAnyScope("write", "write:blocks"))
|
authorize(POST, "/api/v1/accounts/*/block", hasAnyScope("write", "write:blocks"))
|
||||||
authorize(POST, "/api/v1/accounts/*/unblock", hasAnyScope("write", "write:blocks"))
|
authorize(POST, "/api/v1/accounts/*/unblock", hasAnyScope("write", "write:blocks"))
|
||||||
|
authorize(POST, "/api/v1/accounts/*/mute", hasAnyScope("write", "write:mutes"))
|
||||||
|
authorize(POST, "/api/v1/accounts/*/unmute", hasAnyScope("write", "write:mutes"))
|
||||||
|
authorize(GET, "/api/v1/mutes", hasAnyScope("read", "read:mutes"))
|
||||||
|
|
||||||
authorize(POST, "/api/v1/media", hasAnyScope("write", "write:media"))
|
authorize(POST, "/api/v1/media", hasAnyScope("write", "write:media"))
|
||||||
authorize(POST, "/api/v1/statuses", hasAnyScope("write", "write:statuses"))
|
authorize(POST, "/api/v1/statuses", hasAnyScope("write", "write:statuses"))
|
||||||
|
|
Loading…
Reference in New Issue