From 46c7db8e2cf8fc670a7a76e4c6290d95fe5c87cc Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 27 May 2026 16:35:00 +0200 Subject: [PATCH] fix: fix acl permissions list command with per-groupfolder storage Signed-off-by: Robin Appelman --- lib/Command/ACL.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/Command/ACL.php b/lib/Command/ACL.php index f7ced3219..df83e4947 100644 --- a/lib/Command/ACL.php +++ b/lib/Command/ACL.php @@ -194,12 +194,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int private function printPermissions(InputInterface $input, OutputInterface $output, FolderWithMappingsAndCache $folder): void { $rootPath = $folder->rootCacheEntry->getPath(); - $numericStorageId = $this->rootFolder->getMountPoint()->getNumericStorageId(); - if ($numericStorageId === null) { - throw new RuntimeException('Failed to get numeric storage id for mount.'); - } $rules = $this->ruleManager->getAllRulesForPrefix( - $numericStorageId, + $folder->storageId, $rootPath ); $jailPathLength = strlen($rootPath) + 1;