I need to find out how to put RBAC policies in group where I can give only specific branch create permission to cut out branches in bitbucket. Not an Admin level permission
Hi @Mohammad Imran Ansari and welcome to the community!
Users can have one of the following access levels to a repo:
You can grant users write access to a repo and they will be able to create branches and also push to this repo.
You can see more details about the three levels of access here:
You can use branch restrictions if you would like to prevent users from pushing to certain branches:
All users that have been granted write or admin access to a repo can create branches.
Branch creation can be restricted only from Bugfix, Feature, Hotfix, and Release branches defined in the Branching model of your repo. If you create a branch restriction "By branch type" for these types of branches, only users who have write access in the respective branch restriction will be able to create a branch of this type, and the rest will not.
It is not possible to restrict branch creation in any other way for users with write or admin access.
If you have any questions, please feel free to let me know.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.