You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$message = $event->allowPartialArchive ? 'Access to this resource and its children has been denied.' : 'Access to this resource or one of its sub-items has been denied.';
@@ -86,4 +83,26 @@ public function handle(Event $event): void {
86
83
$event->setSuccessful(false);
87
84
}
88
85
}
86
+
87
+
/**
88
+
* Gets the folder containing the files to be downloaded from the POV of the
89
+
* logged-in user, or if no logged-in user is present (e.g. link shares),
90
+
* from the POV of the owner of the folder.
91
+
*
92
+
* @return ?Folder A Folder or null if the Node is a File.
0 commit comments