From 07239c48bd96e1e0e1eb3fc35c31319fdb6fe8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Mon, 13 Dec 2021 23:53:41 +0100 Subject: [PATCH] Fixed default fields rights --- canaille/apputils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canaille/apputils.py b/canaille/apputils.py index b90cbd76..8c2de64e 100644 --- a/canaille/apputils.py +++ b/canaille/apputils.py @@ -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", []))