aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-10-28 10:19:09 +0100
committerGitHub <noreply@github.com>2024-10-28 10:19:09 +0100
commit2eaa9f79b4fbc76b062d9f2bd1f5cfffb2143f57 (patch)
tree02b3222682c4322c91aac42044a895fa36464460 /apps/dav
parente6c11e1be09a13b13df0371b2cff56656c93d4da (diff)
parentbb7841998bc27ccddbd92c8c70302431baa39440 (diff)
downloadnextcloud-server-2eaa9f79b4fbc76b062d9f2bd1f5cfffb2143f57.tar.gz
nextcloud-server-2eaa9f79b4fbc76b062d9f2bd1f5cfffb2143f57.zip
Merge pull request #48917 from nextcloud/fix/dav/view-only-check
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/DAV/ViewOnlyPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/ViewOnlyPlugin.php b/apps/dav/lib/DAV/ViewOnlyPlugin.php
index d53a74923fe..4c3b49a45b0 100644
--- a/apps/dav/lib/DAV/ViewOnlyPlugin.php
+++ b/apps/dav/lib/DAV/ViewOnlyPlugin.php
@@ -44,6 +44,7 @@ class ViewOnlyPlugin extends ServerPlugin {
//Sabre\DAV\CorePlugin::httpGet
$this->server->on('method:GET', [$this, 'checkViewOnly'], 90);
$this->server->on('method:COPY', [$this, 'checkViewOnly'], 90);
+ $this->server->on('method:MOVE', [$this, 'checkViewOnly'], 90);
}
/**