aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-09-15 22:08:06 +0200
committerGitHub <noreply@github.com>2024-09-15 22:08:06 +0200
commit97aa0f70871524d83653aa4003806efedec86629 (patch)
treec661d69dc1bcb2bb0ff8347d2897ffaad8cb4c7e /apps
parentd5985984207fa9483fbaaf17f1d5f67e37c099b4 (diff)
parent35f266a2a4cffdbe69d18b7890e8d7056a5d8a5b (diff)
downloadnextcloud-server-97aa0f70871524d83653aa4003806efedec86629.tar.gz
nextcloud-server-97aa0f70871524d83653aa4003806efedec86629.zip
Merge pull request #47857 from nextcloud/backport/47737/stable30
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/DAV/Sharing/Backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php
index cbae9ec1a37..f63e4dce454 100644
--- a/apps/dav/lib/DAV/Sharing/Backend.php
+++ b/apps/dav/lib/DAV/Sharing/Backend.php
@@ -138,7 +138,7 @@ abstract class Backend {
'status' => 1,
'readOnly' => (int) $row['access'] === Backend::ACCESS_READ,
'{http://owncloud.org/ns}principal' => (string)$row['principaluri'],
- '{http://owncloud.org/ns}group-share' => isset($p['uri']) && str_starts_with($p['uri'], 'principals/groups')
+ '{http://owncloud.org/ns}group-share' => isset($p['uri']) && (str_starts_with($p['uri'], 'principals/groups') || str_starts_with($p['uri'], 'principals/circles'))
];
}
$this->shareCache->set((string)$resourceId, $shares);