We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c550aca + 245351f commit 6bb0985Copy full SHA for 6bb0985
1 file changed
apps/dav/lib/DAV/Sharing/Backend.php
@@ -184,7 +184,7 @@ public function getShares(int $resourceId): array {
184
'status' => 1,
185
'readOnly' => (int) $row['access'] === self::ACCESS_READ,
186
'{http://owncloud.org/ns}principal' => (string)$row['principaluri'],
187
- '{http://owncloud.org/ns}group-share' => is_null($p)
+ '{http://owncloud.org/ns}group-share' => isset($p['uri']) ? str_starts_with($p['uri'], 'principals/groups') : false
188
];
189
}
190
0 commit comments