From aba36e27bef3fc5b7e97d8c13782b53f7e7e4bb6 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Tue, 13 Jun 2017 18:11:14 +0200
Subject: [PATCH] Require view right for protocol content

/close #134
---
 templates/protocol-show.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/protocol-show.html b/templates/protocol-show.html
index 769b7f1..5c00acb 100644
--- a/templates/protocol-show.html
+++ b/templates/protocol-show.html
@@ -156,7 +156,7 @@
             {% endif %}
         </div>
     </div>
-    {% if content_html is not none %}
+    {% if content_html is not none and has_public_view_right %}
         <div>
             <h3>Protokollinhalt</h3>
             {{content_html|safe}}
-- 
GitLab