mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
Api: Fix Asyncservice did not have proper filesystem access as the job user
This commit is contained in:
parent
be34aa1834
commit
f4bcda7aaf
@ -450,6 +450,7 @@ class Asyncservice
|
||||
}
|
||||
// set VFS user for vfs access rights
|
||||
Vfs::$user = $job['account_id'];
|
||||
Vfs\StreamWrapper::init_static();
|
||||
Vfs::clearstatcache();
|
||||
}
|
||||
else
|
||||
|
@ -210,6 +210,10 @@ trait UserContextTrait
|
||||
$this->context = stream_context_create($options);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->context = stream_context_create();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user