Merge branch '15795-sys-root-token'
[arvados.git] / services / api / app / models / api_client_authorization.rb
index 651eacf6264fe36b860476cd85b6025798a72659..77fc0a45afb32ff7ea93595a4b97ff66cd128f63 100644 (file)
@@ -111,6 +111,7 @@ class ApiClientAuthorization < ArvadosModel
   def self.check_system_root_token token
     if token == Rails.configuration.SystemRootToken
       return ApiClientAuthorization.new(user: User.find_by_uuid(system_user_uuid),
+                                        uuid: uuid_prefix+"-gj3su-000000000000000",
                                         api_token: token,
                                         api_client: ApiClient.new(is_trusted: true, url_prefix: ""))
     else