Merge pull request #45757 from nextcloud/backport/45120/stable27

[stable27] fix(dav): Don't log access control as error
This commit is contained in:
Joas Schilling 2024-06-10 17:38:26 +02:00 committed by GitHub
commit 14743e0822
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,6 +66,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
// forbidden can be expected when trying to upload to
// read-only folders for example
Forbidden::class => true,
// our forbidden is expected when access control is blocking
// an item in a folder
\OCA\DAV\Connector\Sabre\Exception\Forbidden::class => true,
// Happens when an external storage or federated share is temporarily
// not available
StorageNotAvailableException::class => true,