]> git.openstreetmap.org Git - rails.git/blobdiff - lib/oauth.rb
Send notifications to note subscribers instead of commenters
[rails.git] / lib / oauth.rb
index 6980447f914d27338e5b09b6a36a775ae9357e42..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[].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