From 4cc3b5343dd4cc3fd7398f57859125588f1b1be0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 08 2018 19:41:48 +0000 Subject: [PATCH 1/2] Fix letting the user who opened the ticket close it Fixes https://pagure.io/pagure/issue/3860 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index cd40d61..62fadee 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -18,12 +18,15 @@ {% block repo %}

- {% if g.authenticated and (g.repo_user or open_access) %} + {% if g.authenticated and (g.repo_user or open_access or g.fas_user.username == issue.user.user) %} - {% endif %} + {% endif %}
{% if issue.private %} @@ -119,7 +123,7 @@