diff options
| author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-12-06 00:25:44 +0300 |
|---|---|---|
| committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-12-06 00:25:44 +0300 |
| commit | af42c00cfffb2cd8e93857cd1cf2901113c45bd2 (patch) | |
| tree | a98edf7a3b38b7fae020485100732ef3ba47542e /config/config.exs | |
| parent | 51111e286b316340b45b4e6a378646bed0cb0a6a (diff) | |
| download | pleroma-af42c00cfffb2cd8e93857cd1cf2901113c45bd2.tar.gz pleroma-af42c00cfffb2cd8e93857cd1cf2901113c45bd2.zip | |
[#1427] Reworked admin scopes support.
Requalified users.is_admin flag as legacy accessor to admin actions in case token lacks admin scope(s).
Diffstat (limited to 'config/config.exs')
| -rw-r--r-- | config/config.exs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index bf2b3f6e2..64397484e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -560,7 +560,10 @@ config :ueberauth, base_path: "/oauth", providers: ueberauth_providers -config :pleroma, :auth, oauth_consumer_strategies: oauth_consumer_strategies +config :pleroma, + :auth, + enforce_oauth_admin_scope_usage: false, + oauth_consumer_strategies: oauth_consumer_strategies config :pleroma, Pleroma.Emails.Mailer, adapter: Swoosh.Adapters.Sendmail, enabled: false |
