From fd247536b8a2b561a070aa13dfcce8ee9082b469 Mon Sep 17 00:00:00 2001 From: Vivek Anand Date: Mar 03 2017 15:00:57 +0000 Subject: issue: repo users to change from public to private They shouldn't be able to do the other way round, since both GET and POST is blocked if the user is not a committer --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 4526e98..98fb0fe 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -307,7 +307,7 @@ {% endif %} - {% if authenticated and g.repo_admin %} + {% if authenticated and g.repo_user %} {{ render_bootstrap_field(form.private, formclass="issue-metadata-form") }} {% endif%}