Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21596

Branch Permissions bypassed

XMLWordPrintable

      Issue Summary

      Force push is often allowed on a branch with branch restrictions with "Rewriting history is not allowed" checked.

      Steps to Reproduce

      1. Create a branch restriction rule, say for master branch, limiting write access and "Rewriting history is not allowed" checked.
      2. Force push an older commit overriding history on this master branch

      Expected Results

      Users shouldn't be allowed to force push

      Actual Results

      Users are sometimes allowed to force push

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              a3002c6cc185 Swetha Boyapati
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: