mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 01:59:39 +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
|
// set VFS user for vfs access rights
|
||||||
Vfs::$user = $job['account_id'];
|
Vfs::$user = $job['account_id'];
|
||||||
|
Vfs\StreamWrapper::init_static();
|
||||||
Vfs::clearstatcache();
|
Vfs::clearstatcache();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -210,6 +210,10 @@ trait UserContextTrait
|
|||||||
$this->context = stream_context_create($options);
|
$this->context = stream_context_create($options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->context = stream_context_create();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user