Skip to content

Commit e90e3a7

Browse files
committed
feat(dav): Allow share principals
Signed-off-by: provokateurin <kate@provokateurin.de>
1 parent 4783459 commit e90e3a7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/dav/lib/Connector/Sabre/Principal.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ public function getPrincipalByPath($path) {
155155
'uri' => 'principals/system/' . $name,
156156
'{DAV:}displayname' => $this->languageFactory->get('dav')->t('Accounts'),
157157
];
158+
} elseif ($prefix === 'principals/shares') {
159+
return [
160+
'uri' => 'principals/shares/' . $name,
161+
'{DAV:}displayname' => $name,
162+
];
158163
}
159164
return null;
160165
}

0 commit comments

Comments
 (0)