X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb1ebf89251313f535e52308d0df0c06da93f1c7..754a0a9cb5c49114181fd1d1181eea0d757dbac4:/lib/oauth.rb diff --git a/lib/oauth.rb b/lib/oauth.rb index e5642163d..a8f497621 100644 --- a/lib/oauth.rb +++ b/lib/oauth.rb @@ -1,8 +1,8 @@ module Oauth SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze PRIVILEGED_SCOPES = %w[read_email skip_authorization].freeze - MODERATOR_SCOPES = %w[].freeze - OAUTH2_SCOPES = %w[openid].freeze + MODERATOR_SCOPES = %w[write_redactions].freeze + OAUTH2_SCOPES = %w[write_redactions consume_messages send_messages openid].freeze class Scope attr_reader :name