On Thu, Mar 28, 2019 at 10:59 AM Pierre-Yves Chibon pingou@pingoured.fr wrote:
This just makes pagure accept to generate project-less API tokens with these two ACLs.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
roles/distgit/pagure/templates/pagure.cfg | 2 -- 1 file changed, 2 deletions(-)
diff --git a/roles/distgit/pagure/templates/pagure.cfg b/roles/distgit/pagure/templates/pagure.cfg index a66b3278b..385b80464 100644 --- a/roles/distgit/pagure/templates/pagure.cfg +++ b/roles/distgit/pagure/templates/pagure.cfg @@ -273,10 +273,8 @@ USER_ACLS = [ CROSS_PROJECT_ACLS = [ 'fork_project', 'modify_project', -{% if env == 'staging' %} 'pull_request_create', 'pull_request_comment', -{% endif %} ]
ADMIN_API_ACLS = [
2.20.1
+1
To some extent, me and Michal Konecny were able to verify this on stg.
This change is needed for the-new-hotness and packit to enable pull request workflow in production.