From a65dc545d49a8c603dac2c10e1ee9cb92bf56a2c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 18 2015 13:53:53 +0000 Subject: [PATCH 1/2] We allow user that are not admin if we're doing a remote pull-request If the diff is not about a remote repository, the user must be an admin of the repo the PR comes from. --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index f31ac29..fd72779 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -73,7 +73,7 @@ >tree) {% endif %} -{% if form and repo_admin %} +{% if form and (repo_admin or remote_git) %}
{% if remote_git %}