From c95a3490f5f3f33583c8be70d6df138a3a1544e0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 14 Feb 2020 16:40:50 -0500 Subject: [PATCH] Hide artifact upload UI for logged out users --- gitsrht/templates/ref.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitsrht/templates/ref.html b/gitsrht/templates/ref.html index 729405b..c099cc2 100644 --- a/gitsrht/templates/ref.html +++ b/gitsrht/templates/ref.html @@ -60,6 +60,7 @@ {% endfor %} {% endif %} + {% if repo.owner == current_user %}
-- 2.38.4