Merge pull request #48917 from nextcloud/fix/dav/view-only-check

This commit is contained in:
Kate 2024-10-28 10:19:09 +01:00 committed by GitHub
commit 2eaa9f79b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
/**