Target branch's permissions blocking PR Booster

Issue #191 resolved
Basheer Basha created an issue

Hi,

We recently installed the PR Booster plugin in our production environment. I was testing this plugin on one of our test repositories and am facing the below issue:

Created a fork of the test repository

  • Committed a file and created a pull request on branch “Test1”
  • Meanwhile, on the main repository, I have set the branch (to branch) permission to block history rewriting.
  • But the fork branch (from branch) has all access enabled for me.
  • On the Pull Request page, I see that the buttons “Amend”, “Squash” and “Rebase” are disabled.
  • On clicking the buttons, I get an exception saying “Cannot rebase branch Test1. History rewriting is not permitted for this branch."

Even though the from branch has the adequate permissions, why does the plugin check the “to” branch’s permissions and blocks it?

Technically, we wouldn’t allow users to modify the history of the release (to) branch, in that case, using this plugin would make no sense for us. Please advise if we are not configuring the plugin correctly or if there is a way to fix this issue.

Comments (1)

  1. Julius Davies [bit-booster.com] repo owner

    Fixed in PR-Booster v2023.12.15

    Thanks for the bug report! Sorry for the ridiculous delay here in addressing this.

  2. Log in to comment