Add moderation API (#9387)

Fix #8580
Fix #7143
This commit is contained in:
Eugen Rochko 2019-06-20 02:52:34 +02:00 committed by GitHub
parent 33144e132d
commit 7696f77245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 735 additions and 1 deletions

View file

@ -80,7 +80,13 @@ Doorkeeper.configure do
:'read:search',
:'read:statuses',
:follow,
:push
:push,
:'admin:read',
:'admin:read:accounts',
:'admin:read:reports',
:'admin:write',
:'admin:write:accounts',
:'admin:write:reports'
# Change the way client credentials are retrieved from the request object.
# By default it retrieves first from the `HTTP_AUTHORIZATION` header, then