WebAdmin: don't show hidden deny policy for allowed patterns

The deny policy only applies to denied patterns, showing an allowed
pattern as hidden will confuse users

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-06-14 19:00:52 +02:00
parent 1c1b76011f
commit 80f21d1c91
3 changed files with 99 additions and 100 deletions
+1 -1
View File
@@ -5420,7 +5420,7 @@ components:
- 0
- 1
description: |
Deny policies
Policies for denied patterns
* `0` - default policy. Denied files/directories matching the filters are visible in directory listing but cannot be uploaded/downloaded/overwritten/renamed
* `1` - deny policy hide. This policy applies the same restrictions as the default one and denied files/directories matching the filters will also be hidden in directory listing. This mode may cause performance issues for large directories
HooksFilter: