Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to disable running custom pipelines for non admin users?

Matija Varjacic June 30, 2022

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?
disablePipes.png


1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2022

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)

Matija Varjacic July 4, 2022

Thanks Ben!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events