fix: preserve section rule priority
This commit is contained in:
@@ -112,7 +112,7 @@ func (a *Account) maskFor(path string, entry bool) PermMask {
|
||||
if entry && r.ChildrenOnly && matchPathExact(d, path) {
|
||||
continue
|
||||
}
|
||||
if len(d) > best {
|
||||
if len(d) >= best {
|
||||
best = len(d)
|
||||
if r.Deny {
|
||||
mask = None
|
||||
|
||||
Reference in New Issue
Block a user