X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98bfaace9aeba7fb387596cc16b2e661506173c6..735a5cf9e25b81d03db80ca4393aa34ea74d612a:/lib/oauth.rb?ds=sidebyside diff --git a/lib/oauth.rb b/lib/oauth.rb index 0456c0873..a8f497621 100644 --- a/lib/oauth.rb +++ b/lib/oauth.rb @@ -1,7 +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 - 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