diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-10 15:22:04 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-10 16:49:06 +0200 |
commit | 03afc365d530e6d57754ae9dbbdbd0c56431ee02 (patch) | |
tree | 58ecbe9865b1cfcca6b08da53e8bb6c5e01e5c9a /config | |
parent | 7d1dd59496189d7b6e81585a01aaaae6fd45a737 (diff) |
Introduce OAuth scopes for bookmarks
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/doorkeeper.rb | 2 | ||||
-rw-r--r-- | config/locales/doorkeeper.en.yml | 2 |
2 files changed, 4 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', diff --git a/config/locales/doorkeeper.en.yml b/config/locales/doorkeeper.en.yml index f1fe03716..211b210d7 100644 --- a/config/locales/doorkeeper.en.yml +++ b/config/locales/doorkeeper.en.yml @@ -119,6 +119,7 @@ en: read: read all your account's data read:accounts: see accounts information read:blocks: see your blocks + read:bookmarks: see your bookmarks read:favourites: see your favourites read:filters: see your filters read:follows: see your follows @@ -131,6 +132,7 @@ en: write: modify all your account's data write:accounts: modify your profile write:blocks: block accounts and domains + write:bookmarks: bookmark statuses write:favourites: favourite statuses write:filters: create filters write:follows: follow people |