Enable public Stash project for Active Directory group "Authenticated Users" only

We would like to make a Stash project and its repositories public, but read only and only accessible for users, that have a valid account in our Active Directory and thus are member of the Active Directory group "Authenticated Users". We want to ensure, that only internals have access to the code.

We already use Active Directory for authentication of our regular users.

Is this possible?

Thank you,


1 answer

Hi Andreas,

This is not something you can do with Stash, making a repository publicly readable makes it readable for everybody that has the url and that can connect to this url.

If your Stash instance is behind a firewall and not reachable from the internet I don't see a real problem with simply giving everybody on your company's intranet access to this repository.

If your Stash instance is reachabel from the internet I would look into making the repository not public.




Our instance is behind a firewall, but we simply have to many guests and externals in our network, that should not be able to browse the repositories.

Would it be possible to use the AD group "Authenticated Users" for a non public repository? I probably would have to create user accounts then or would the users be able to create the accounts themselves?



If your Stash instance uses AD for authentication and authorization you should be able to use that group to provide access to those users. I'm not sure if they can simply log into Stash (if you give that group basic stash user rights) or need to have an account created for them first. Cheers, Peter

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,718 views 26 12
Join discussion

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