diff options
author | rinpatch <rin@patch.cx> | 2021-02-17 20:47:38 +0300 |
---|---|---|
committer | rinpatch <rin@patch.cx> | 2021-02-17 20:47:38 +0300 |
commit | 6d66fadea7f798f64f4f8b5d41c9ef29469eaf78 (patch) | |
tree | 8b2dc3283128e35c3aaebfe238ad59779af73a42 /docs/development | |
parent | 679a2e799e464f044d7afceb4c9a650d2d3b2e2a (diff) | |
download | pleroma-6d66fadea7f798f64f4f8b5d41c9ef29469eaf78.tar.gz |
Remove `:auth, :enforce_oauth_admin_scope_usage`
`admin` scope has been required by default for more than a year now
and all apps that use the API seems to request a proper scope by now.
Diffstat (limited to 'docs/development')
-rw-r--r-- | docs/development/API/admin_api.md | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md index 04a181401..f6519830b 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -2,13 +2,6 @@ Authentication is required and the user must be an admin. -Configuration options: - -* `[:auth, :enforce_oauth_admin_scope_usage]` — OAuth admin scope requirement toggle. - If `true`, admin actions explicitly demand admin OAuth scope(s) presence in OAuth token (client app must support admin scopes). - If `false` and token doesn't have admin scope(s), `is_admin` user flag grants access to admin-specific actions. - Note that client app needs to explicitly support admin scopes and request them when obtaining auth token. - ## `GET /api/pleroma/admin/users` ### List users |