X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f4d1d97848306e71b6525c58f2e5691b8aa686b7..c661bbf7dba69d265ebcd6431d0a4ab8c5d48430:/lib/oauth.rb?ds=sidebyside diff --git a/lib/oauth.rb b/lib/oauth.rb index 07e54d858..679c564a6 100644 --- a/lib/oauth.rb +++ b/lib/oauth.rb @@ -1,6 +1,11 @@ module Oauth - SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze - PRIVILEGED_SCOPES = %w[read_email].freeze + SCOPES = %w[ + read_prefs write_prefs write_diary + write_api read_gpx write_gpx write_notes write_redactions + consume_messages send_messages openid + ].freeze + PRIVILEGED_SCOPES = %w[read_email skip_authorization].freeze + MODERATOR_SCOPES = %w[write_redactions].freeze class Scope attr_reader :name