From deaa7ce9733ba329f4a0aeb51a19228a0eff1acc Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: May 27 2016 03:50:43 +0000 Subject: Allow only repo_admins to assign PRs Changes the PR assignment permission to only allow repo admins to assign PRs, which is the same as the current behaviour for assigning Issues. Fixes #985 --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 4f0361d..e17edca 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -556,7 +556,7 @@
- {% if authenticated and mergeform and pull_request.status == 'Open' %} + {% if authenticated and mergeform and pull_request.status == 'Open' and repo_admin %}