Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Original answer (July 2013)</p> <p><del>I don't think you can assign permissions for <em>branches</em> of a repository</del> (see below).<br> There is a <a href="https://bitbucket.org/site/master/issue/5554/branch-permissions-bb-6761" rel="nofollow">pending ticket on that (issue 5554)</a>.</p> <p>That mean I would rather clone that repo on the server (a "fork"), in order for the developers to push to any branch they want, and for an integrator to pull from that dev repo and update the <code>master</code> branch of the live repo.</p> <hr> <p>Update post Sept 2013:</p> <p>The ticket mentioned above has been resolved (see <a href="https://bitbucket.org/site/master/issue/5554/branch-permissions-bb-6761#comment-5845513" rel="nofollow">comment-5845513</a>)</p> <blockquote> <p>We've released branch restrictions which can be configured via the repository admin "Branch management" screen.</p> </blockquote> <p>See <a href="https://confluence.atlassian.com/display/BITBUCKET/Branch+management" rel="nofollow">BitBuket Branch management</a></p> <blockquote> <p><strong>To prevent any user from pushing to a branch</strong>, you can, do this:</p> <ol> <li>Create a group called <code>EmptyGroup</code> on your account.<br> You can name the group anything you like. We recommend you choose a name that reflects how the group is used. </li> <li>Give the group write permissions.</li> <li>Go to the Branch Management page.</li> <li>Locate the <strong><code>Limit pushes to specific users and groups</code></strong> section.</li> <li>Limit pushes to a branch to the <code>EmptyGroup</code> group.</li> </ol> </blockquote> <p>Any user not part of the group would not be able to push to that branch.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload