Private repository administration


How can I administrate all the private repositories? As an administrator I need to know who has how many private repositories and be able to administrate them too! I can't find such an option and the menu entry Repositories can only View all public repositories. But as an administrator I need to see all repositories on our Stash installation.

Any idea or hint would be much appreciated.

Kind regards,


2 answers

0 vote
Timothy Chin Community Champion Nov 10, 2013

At the moment, there's no UI for this.

The only thing that can help you is the REST api:

GET /rest/api/latest/projects/PROJECT_KEY/repos/repo_slug/forks

Hm, that's odd.

So how can I disable this feature completely?

Hi Yves,

Are you talking about disabling private repositories, or just forks? Forks can be disabled at the repository level (in settings) or globally:

Unfortunately there isn't a way (currently) to disable private repositories.

Just out of curiosity, what aspect of the repository do you need to administer? It would be good to know what we might need to add to support this.



Hi Charles,

yes, I'm asking for the possibility to disable or at least administrate private repositories. The reason for this is to know what's going on on our Stash installation, which is a must have to prevent issues with the law if there is the possibility for external developers to register and use our Stash instance. Normally it should be used for project development but if no administrator can "see" what's going on, who knows which content is hosted there?

The required features are at least these ones:

  • Possibility to disable the feature completely
  • Possibility to disable the feature per user
  • See the used space for each private repository
  • Simple browse functionality to check the private repo content

Hi Yves,

Thanks for that. I'll pass your suggestions onto the PM.

You can also look at the $STASH_HOME/data/repositories directory. If you install this plugin ( the config file should contain information about what each repository is. Personal repositories will always have 'stash.project' starting with '~'. You can then also just use normal git commands to view the content or calculate the size.

I realise this isn't ideal. Feel free to raise a feature request on our public issue tracker:



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...

22,085 views 26 11
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