X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c8fc2218e5e342ad7afc9409974fd48a733ba94b..c9a86866bb6f2d0b41604078a0f05aadc5633f46:/lib/oauth.rb diff --git a/lib/oauth.rb b/lib/oauth.rb index 0456c0873..88db38eb4 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 openid].freeze class Scope attr_reader :name