mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Api: Fix Asyncservice did not have proper filesystem access as the job user
This commit is contained in:
parent
0574b95eda
commit
12591f3911
@ -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