Merge pull request #48930 from nextcloud/backport/48917/stable29

pull/48936/head
Kate 2024-10-28 12:40:00 +07:00 committed by GitHub
commit 94a623aec7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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