Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat(dav): Allow share principals
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed May 5, 2025
commit e90e3a70fa134c50d77f983bed30a6f9666437c3
5 changes: 5 additions & 0 deletions apps/dav/lib/Connector/Sabre/Principal.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ public function getPrincipalByPath($path) {
'uri' => 'principals/system/' . $name,
'{DAV:}displayname' => $this->languageFactory->get('dav')->t('Accounts'),
];
} elseif ($prefix === 'principals/shares') {
return [
'uri' => 'principals/shares/' . $name,
'{DAV:}displayname' => $name,
];
}
return null;
}
Expand Down