Stash disable read for repository

We have a team with write permission for Stash project (and this team has several repositories). In this project, there is one particular repo with confidential data and password hash algorithms. Because of compliance issues that repo should be visible only to two developers, listed by name.

Project has default "No Access policy" and "write policy" for a developer team. Repository has disclosed list of devs (with read and write access) in repository permissions. Unfortunately anyone with write and read permissions for the project is able to see this particular repository content.

Is there a way to restrict an access to this repository?

1 answer

Hi Matt,

I'm afraid our permissions are strictly additive in that you can only grant more permissions to something. You can't add restrictions.

My suggestion would be to create a new project with just that repository and only grant the two developers access. Is that feasible? Either that or add permissions to the developer team to each repository, rather than the project, but I can imagine that will far more cumbersome to administer.

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you