diff options
author | Joas Schilling <coding@schilljs.com> | 2024-04-30 13:46:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-04-30 13:46:50 +0200 |
commit | 89bce5c76ef70ceae7c03b0b4955028c49d733df (patch) | |
tree | 88174822011b703a40e1574b615969377551128c | |
parent | cb27fbc3bb9423ee5b4c7e30df46de14ba33ec9b (diff) | |
download | nextcloud-server-89bce5c76ef70ceae7c03b0b4955028c49d733df.tar.gz nextcloud-server-89bce5c76ef70ceae7c03b0b4955028c49d733df.zip |
fix(dav): Don't log access control as error
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php index a195b5722f5..d9b845d7acb 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -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, |