From 1b642d737b55c20ea2b83afbf63d701acd25fc00 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 13 Apr 2017 12:52:12 +0200 Subject: Access control: fix show own item (not *all* items) (refs #3593) --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 77b4ed335..f1de8c60a 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -125,7 +125,7 @@ def check_model_access_control(request, model, available_perms=None): if "_own_" not in perm: own = False break # max right reach - return allowed, own + return allowed, own class Imported(models.Model): -- cgit v1.2.3