aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-10-29 07:44:26 +0100
committerGitHub <noreply@github.com>2024-10-29 07:44:26 +0100
commitc46415847ff511a2c27f2d5c8200d751460341b7 (patch)
tree10d6c8c2b8a3d484bf96fa5e8809a7d7c5e653b3
parent521c708027ec08a22a3af7913b4926378b217e0b (diff)
parentae1d924626999c3ef16ab4fc3b7e45307d691069 (diff)
downloadnextcloud-server-c46415847ff511a2c27f2d5c8200d751460341b7.tar.gz
nextcloud-server-c46415847ff511a2c27f2d5c8200d751460341b7.zip
Merge pull request #48927 from nextcloud/backport/48917/stable26
-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 0ae472460be..035266af5b1 100644
--- a/apps/dav/lib/DAV/ViewOnlyPlugin.php
+++ b/apps/dav/lib/DAV/ViewOnlyPlugin.php
@@ -58,6 +58,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);
}
/**