about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-10 15:22:04 +0200
committerThibaut Girka <thib@sitedethib.com>2018-08-10 15:26:52 +0200
commit90b492143dae5cbaf884b12fbfd823c9f65d392f (patch)
tree58ecbe9865b1cfcca6b08da53e8bb6c5e01e5c9a /config/initializers
parent7d1dd59496189d7b6e81585a01aaaae6fd45a737 (diff)
Introduce OAuth scopes for bookmarks
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/doorkeeper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb
index fe2490b32..c77387ed4 100644
--- a/config/initializers/doorkeeper.rb
+++ b/config/initializers/doorkeeper.rb
@@ -58,6 +58,7 @@ Doorkeeper.configure do
   optional_scopes :write,
                   :'write:accounts',
                   :'write:blocks',
+                  :'write:bookmarks',
                   :'write:favourites',
                   :'write:filters',
                   :'write:follows',
@@ -70,6 +71,7 @@ Doorkeeper.configure do
                   :read,
                   :'read:accounts',
                   :'read:blocks',
+                  :'read:bookmarks',
                   :'read:favourites',
                   :'read:filters',
                   :'read:follows',