Hello. Is there a way to disable running custom pipeline for certain user groups?
Can we disable the "Run pipeline" button for certain user groups?
Hey Matija,
Welcome to the Bitbucket Cloud community! :)
We have a feature called Deployment Permissions available to Bitbucket Cloud Premium users to prevent non-admins from deploying to certain deployment environments. From the Deployments settings menu this can be enabled, the user will be able to run the pipeline - however, with admin restrictions in place, a deployment by a non-admin is automatically paused and can only be resumed by an administrator.
You can then specify that only certain branches are able to deploy to this environment as well:
https://bitbucket.org/blog/deployment-permissions-now-available-in-bitbucket-pipelines
Unfortunately, at present, there is no way to restrict non-admin users from running pipelines entirely as stated in your query. As long as the user has write access, they will be able to run pipelines. I have raised a feature request on your behalf to our developers - feel free to "Watch" this for future updates:
https://jira.atlassian.com/browse/BCLOUD-21989
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.