about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2022-11-17 03:50:21 -0600
committerGitHub <noreply@github.com>2022-11-17 10:50:21 +0100
commita2931d19ae93ff4f465ac9e328abd63748daa905 (patch)
tree369258b3fdfee4005329a2872d88087debbc8f59 /config/initializers
parentaaca78da78909dd5a23df3e70de07b838eaf4a0e (diff)
Add missing admin scopes (fix #20892) (#20918)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/doorkeeper.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb
index 84b649f5c..43aac5769 100644
--- a/config/initializers/doorkeeper.rb
+++ b/config/initializers/doorkeeper.rb
@@ -98,9 +98,19 @@ Doorkeeper.configure do
                   :'admin:read',
                   :'admin:read:accounts',
                   :'admin:read:reports',
+                  :'admin:read:domain_allows',
+                  :'admin:read:domain_blocks',
+                  :'admin:read:ip_blocks',
+                  :'admin:read:email_domain_blocks',
+                  :'admin:read:canonical_email_blocks',
                   :'admin:write',
                   :'admin:write:accounts',
                   :'admin:write:reports',
+                  :'admin:write:domain_allows',
+                  :'admin:write:domain_blocks',
+                  :'admin:write:ip_blocks',
+                  :'admin:write:email_domain_blocks',
+                  :'admin:write:canonical_email_blocks',
                   :crypto
 
   # Change the way client credentials are retrieved from the request object.