fix(dav): Don't log access control as error

Signed-off-by: Joas Schilling <coding@schilljs.com>
bugfix/noid/sensitive-dav-forbidden-logging
Joas Schilling 3 weeks ago
parent cb27fbc3bb
commit 89bce5c76e
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

@ -65,6 +65,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,

Loading…
Cancel
Save