Skip to content

Commit c750ed6

Browse files
authored
Merge pull request #45758 from nextcloud/backport/45120/stable28
[stable28] fix(dav): Don't log access control as error
2 parents 19d1111 + c57df27 commit c750ed6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin {
6565
// forbidden can be expected when trying to upload to
6666
// read-only folders for example
6767
Forbidden::class => true,
68+
// our forbidden is expected when access control is blocking
69+
// an item in a folder
70+
\OCA\DAV\Connector\Sabre\Exception\Forbidden::class => true,
6871
// Happens when an external storage or federated share is temporarily
6972
// not available
7073
StorageNotAvailableException::class => true,

0 commit comments

Comments
 (0)