mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(dav): also allow unsharing of circle shares
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
33c9638a14
commit
35f266a2a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue