diff options
author | Robin Appelman <robin@icewind.nl> | 2022-07-08 18:52:58 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-07-08 18:52:58 +0300 |
commit | ce5f3c298ade46dd9672068f76bcc533792ef509 (patch) | |
tree | a2fd46c12c0cb661c117699af4eac647dccb1dd9 | |
parent | 9c3fed9d383f65a51869d110005291d0a1f61515 (diff) |
don't apply access control wrapper on the root mount
-rw-r--r-- | lib/AppInfo/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 4d9cfc2..0406f69 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -55,7 +55,7 @@ class Application extends App implements IBootstrap { * @return StorageWrapper|IStorage */ public function addStorageWrapperCallback($mountPoint, IStorage $storage) { - if (!OC::$CLI && !$storage->instanceOfStorage(SharedStorage::class)) { + if (!OC::$CLI && !$storage->instanceOfStorage(SharedStorage::class) && $mountPoint !== '/') { /** @var Operation $operation */ $operation = $this->getContainer()->get(Operation::class); return new StorageWrapper([ |