From c89f887875cdc859e85befadca42465e6c81321e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 3 Jan 2019 16:58:16 +0100 Subject: Permissions: fix permission for context record, operation, sites associated to a find basket --- archaeological_finds/templates/ishtar/sheet_find.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index b676d6235..66fcca33e 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -48,7 +48,7 @@ {% endif %} - {% if item.documents.count %} + {% if permission_view_own_document or permission_view_document %}{% if item.documents.count %} - {% endif %} + {% endif %}{% endif %}