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.
1 parent d56ad83 commit 69b7f74Copy full SHA for 69b7f74
1 file changed
apps/dav/lib/CalDAV/Trashbin/TrashbinHome.php
@@ -37,6 +37,28 @@ public function getOwner(): string {
37
return $this->principalInfo['uri'];
38
}
39
40
+ #[\Override]
41
+ public function getACL(): array {
42
+ $ownerPrincipal = $this->principalInfo['uri'];
43
+ return [
44
+ [
45
+ 'privilege' => '{DAV:}all',
46
+ 'principal' => $ownerPrincipal,
47
+ 'protected' => true,
48
+ ],
49
50
+ 'privilege' => '{DAV:}read',
51
+ 'principal' => $ownerPrincipal . '/calendar-proxy-write',
52
53
54
55
56
+ 'principal' => $ownerPrincipal . '/calendar-proxy-read',
57
58
59
+ ];
60
+ }
61
+
62
#[\Override]
63
public function createFile($name, $data = null) {
64
throw new Forbidden('Permission denied to create files in the trashbin');
0 commit comments