Customers have installed this add-on in at least 18 active instances.
    by Sean Gillespiefor Bitbucket Server 3.3.0 - 3.11.6
    Sean Gillespie supports this add-on.

    Get support

    Get it nowFree add-on

    Protect specific paths from being updated by non-repository-admins

    Protect specific paths from being updated by non-repository-admins

    Configuration Options

    Protects against pushes

    Protects against pull requests

    Protect Paths Hook is fully configurable

    Rejected pushes display descriptive error messages.

    Only administrators can merge pull requests.

    More details

    A plugin for Atlassian Stash that protects paths from being pushed by non-administrators (for projects).

    Configuration Options:

    • Specify path(s) using regular expressions
    • Protect all branches, or filter based on regular expression(s)
    • Exclude user(s)

    Check https://github.com/sgillespie/protect-paths-stash-hook for more information.

    User reviews

    (0)Sign in to write a review

    There are no reviews yet. Be the first to review this add-on.


    Sean Gillespie provides support for this add-on.

    Vendor support resources


    Find out how this add-on works.

    See existing Q&A in Atlassian CommunityAsk a question in the Atlassian Community

    Atlassian-hosted discussions connect you to other customers who use this add-on.


    Version 0.9.0 Bitbucket Server 3.3.0 - 3.11.6 Released 2014-10-27


    Initial Release


    This is the first release. It currently supports the following features:

    • Protect against pull requests and pushes
    • Specify paths to protect with regular expression(s)
    • Protect branches based on a filter
      • All Branches
      • Include Branches with regular expression(s)
      • Exclude Branches with regular expressions(s)
    • Exclude 0 or more users


    1. Log into your Bitbucket instance as an admin.
    2. Click the admin dropdown and choose Add-ons. The Manage add-ons screen loads.
    3. Click Find new add-ons from the left-hand side of the page.
    4. Locate Protect Paths Hook via search. Results include add-on versions compatible with your Bitbucket instance.
    5. Click Install to download and install your add-on.
    6. You're all set! Click Close in the Installed and ready to go dialog.

    Similar add-ons