diff --git a/pagure/templates/pull_request_title.html b/pagure/templates/pull_request_title.html index 9d7ee45..46bc952 100644 --- a/pagure/templates/pull_request_title.html +++ b/pagure/templates/pull_request_title.html @@ -51,7 +51,16 @@
diff --git a/pagure/ui/fork.py b/pagure/ui/fork.py index 6f1ecce..ca3e25a 100644 --- a/pagure/ui/fork.py +++ b/pagure/ui/fork.py @@ -538,6 +538,8 @@ def request_pull_edit(repo, requestid, username=None, namespace=None): if form.validate_on_submit(): request.title = form.title.data.strip() request.initial_comment = form.initial_comment.data.strip() + if flask.g.fas_user.username == request.user.username: + request.allow_rebase = form.allow_rebase.data flask.g.session.add(request) if not request.private and not request.project.private: pagure.lib.notify.log(