forked from Github-Mirrors/canaille
Fixed default fields rights
This commit is contained in:
parent
424bde015f
commit
07239c48bd
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def default_fields():
|
|||
read = set()
|
||||
write = set()
|
||||
for acl in current_app.config["ACL"].values():
|
||||
if "filter" not in acl:
|
||||
if "FILTER" not in acl:
|
||||
read |= set(acl.get("READ", []))
|
||||
write |= set(acl.get("WRITE", []))
|
||||
|
||||
|
|
Loading…
Reference in a new issue