]> git.openstreetmap.org Git - rails.git/blobdiff - lib/oauth.rb
Removed various unused translation keys
[rails.git] / lib / oauth.rb
index 7ff2ba8b4358428c04814a899d5e8563be0b971b..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
+  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