Merge branch '1932-job-output-persistent'
[arvados.git] / services / api / app / controllers / user_sessions_controller.rb
index 71c2823dc15ee7a4aae33984e66beda351ee2481..3674c010cb7bcd97ae808483997ef5118554042f 100644 (file)
@@ -121,7 +121,8 @@ class UserSessionsController < ApplicationController
     api_client_auth = ApiClientAuthorization.
       new(user: user,
           api_client: @api_client,
-          created_by_ip_address: remote_ip)
+          created_by_ip_address: remote_ip,
+          scopes: ["all"])
     api_client_auth.save!
 
     if callback_url.index('?')