]> git.openstreetmap.org Git - rails.git/blobdiff - lib/oauth.rb
Skip paragraphs with no text when looking for richtext description
[rails.git] / lib / oauth.rb
index 0456c08732a927eb1c944f74b5ccc969f9971ce4..a8f49762112a739ccb351ff130dd71bc678ba6e5 100644 (file)
@@ -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