]> git.openstreetmap.org Git - rails.git/blobdiff - lib/oauth.rb
Send notifications to note subscribers instead of commenters
[rails.git] / lib / oauth.rb
index 07e54d85850c313390bec1c4a0c580f68912300e..679c564a63223e500afecac1a4a19b62dd458b2a 100644 (file)
@@ -1,6 +1,11 @@
 module Oauth
-  SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze
-  PRIVILEGED_SCOPES = %w[read_email].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