Uploaded image for project: 'Stash'
  1. Stash
  2. STASH-2507

Add permission to disable branch and tag deletion via git push

    Details

      Description

      It would be useful to have a separate permission to disable branch and tag deletion done via git push.

      Ideally, this would be controlled independently of any permissions to delete branches and tags from the Stash web interface and is just intended to prevent accidental git push branch deletions.

        Issue Links

          Activity

          Hide
          alan.qian Alan Qian added a comment -

          Hi @jhinch, do you have any update on your plugin? Is it this one?

          https://bitbucket.org/atlassianlabs/stash-refchange-settings-plugin

          Show
          alan.qian Alan Qian added a comment - Hi @jhinch, do you have any update on your plugin? Is it this one? https://bitbucket.org/atlassianlabs/stash-refchange-settings-plugin
          Hide
          kabir.kochhar Kabir Kochhar added a comment -

          Is there a plugin available in marketplace to restrict branch deletion but allows to create / push changes?

          Show
          kabir.kochhar Kabir Kochhar added a comment - Is there a plugin available in marketplace to restrict branch deletion but allows to create / push changes?
          Show
          michael.villis Michael Villis added a comment - Have you see this one? https://marketplace.atlassian.com/plugins/com.sarav.stash.hooks.protectbranches.ProtectBranches
          Hide
          mark.gillespie1 Mark Gillespie added a comment - - edited

          Will that plugin also prevent deletion of the branch in the Stash Merge UI, where the "Delete Source Branch After Merging" tickbox is?

          EDIT: Sadly it seems not to.

          Show
          mark.gillespie1 Mark Gillespie added a comment - - edited Will that plugin also prevent deletion of the branch in the Stash Merge UI, where the "Delete Source Branch After Merging" tickbox is? EDIT: Sadly it seems not to.
          Hide
          chendil chendil added a comment -

          it is bad that an user can delete the branches from UI even though STASH application has various level of permission inheritance and blocking an access at branch level, but just because of this issue, other features for restrictions is not worth.

          Can STASH take this as a critical issue and develop a fix for this

          Show
          chendil chendil added a comment - it is bad that an user can delete the branches from UI even though STASH application has various level of permission inheritance and blocking an access at branch level, but just because of this issue, other features for restrictions is not worth. Can STASH take this as a critical issue and develop a fix for this

            People

            • Assignee:
              Unassigned
              Reporter:
              savviness Jesse Johnson
            • Votes:
              85 Vote for this issue
              Watchers:
              77 Start watching this issue

              Dates

              • Created:
                Updated: