From 7152310e75eacb1265bd433125e2637e049e288f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 04 2020 13:44:02 +0000 Subject: Allow repo admins to change the bugzilla overrides The repo admins include the instance wide admins, thus in the case of Fedora and src.fp.o members of the cvsadmin group. Fixes https://pagure.io/pagure-dist-git/issue/105 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/themes/srcfpo/templates/repo_master_sidebar.html b/pagure/themes/srcfpo/templates/repo_master_sidebar.html index 030ba69..7cc1a35 100644 --- a/pagure/themes/srcfpo/templates/repo_master_sidebar.html +++ b/pagure/themes/srcfpo/templates/repo_master_sidebar.html @@ -161,7 +161,7 @@ {% endif %} - {% if g.authenticated and repo.user.user == g.fas_user.username or pagure_admin %} + {% if g.authenticated and (repo.user.user == g.fas_user.username or g.repo_admin) %}