It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Granular Permissions

Does anyone know a plugin that allows teams to have more granular permissions for Bitbucket Server?  We are wanting to allow teams to setup their own projects. but still enforce some project level permissions. 

I heard this was possible with scriptrunner

1 answer

2 votes
adammarkham Community Leader Sep 23, 2016

Apologies for the delay in responding. ScriptRunner for Bitbucket Server has an event handler called "default repository permissions" and "default project permissions" the documentation for it can be found here. It will allow you enforce some default permissions when a project or repository is created.

After installing the evaluation version of ScriptRunner from Marketplace you can find these under Admin -> ScriptRunner -> Script Event Handlers

If you want more fine grained control, your likely going to have to write your own custom scripted event handler.

Let me know if you need any further details or run into any issues.

I can see from the scriptrunner docs that it's possible to block people from doing things they would otherwise have access to, but is it is also possible to allow people with normal project write permissions to create repos in a project using script runner?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,048 views 6 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you