3 read_prefs write_prefs write_diary
4 write_api read_gpx write_gpx write_notes write_redactions
5 consume_messages send_messages openid
7 PRIVILEGED_SCOPES = %w[read_email skip_authorization].freeze
8 MODERATOR_SCOPES = %w[write_redactions].freeze
18 I18n.t("oauth.scopes.#{name}")
22 def self.scopes(privileged: false)
24 scopes += PRIVILEGED_SCOPES if privileged
25 scopes.collect { |s| Scope.new(s) }