As an admin, I would like separate "Create" and "Modify" permissions for users and user groups in Branch Permissions

XMLWordPrintable

    • 6

      Problem Definition

      Currently the options for Branch Permissions are:
      Prevent all changes
      Prevent deletion
      Prevent rewriting history
      Prevent changes without a pull request

      There is currently no way to allow developers to commit to branches but prevent them from creating new ones n a repository.

      This can be a problem when a structured set of branches is desired (eg versioned releases) for developers to write to, but control over who creates them and when is desirable. In particular, unprotected branch creation can lead to developers inadvertently inserting their release branch into a cascading merge chain.

      Suggested Solution

      Implement separate "Prevent Create", "Prevent Modify" to replace "Prevent all changes". This would allow administrators to control creation of branches, while letting developers commit to them

            Assignee:
            Manish
            Reporter:
            Aaron Bromberg (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: