2 SCOPES = %w[read_prefs write_prefs write_diary write_api read_gpx write_gpx write_notes].freeze
3 PRIVILEGED_SCOPES = %w[].freeze
13 I18n.t("oauth.scopes.#{name}")
17 def self.scopes(privileged: false)
19 scopes += PRIVILEGED_SCOPES if privileged
20 scopes.collect { |s| Scope.new(s) }