X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..808c2cbfa90504e282c46d5cbac1c6da1966ae82:/lib/oauth.rb diff --git a/lib/oauth.rb b/lib/oauth.rb index 7ff2ba8b4..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 + 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