There was an error while loading. Please reload this page.
2 parents 325ac07 + c8c7ffd commit ff51d57Copy full SHA for ff51d57
1 file changed
lib/Sabre/PropFindPlugin.php
@@ -92,7 +92,7 @@ public function propFind(PropFind $propFind, INode $node): void {
92
$propFind->handle(self::FAVORITE_PROPERTYNAME, fn (): int => $node->isFavorite() ? 1 : 0);
93
$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, fn () => json_encode($this->previewManager->isAvailable($fileInfo)));
94
$propFind->handle(FilesPlugin::PERMISSIONS_PROPERTYNAME, function () use ($node): string {
95
- $permissions = DavUtil::getDavPermissions($node->getFileInfo());
+ $permissions = DavUtil::getDavPermissions($node->getFileInfo(), $node->getFileInfo()->getParent());
96
$filteredPermissions = str_replace('R', '', $permissions);
97
98
if ($node instanceof PublicAlbumPhoto) {
0 commit comments