Adding the same user back from Active Directory


Stash is configured to connect to Active Directory. One user has been mistakenly deleted from Active Directory. The user had some data such as forked repositories(some are public) and public keys. It was all lost in stash. We added the user back into Active Directory and the user can now log back in but does not have permission to fork a repository within his project (adding public key was successful).

It seems re-added user is still linked to old user (because they are same users actually new user project is the same as old user ones?). Does stash delete all data including user account information when user is removed? How can I fix the permission issue?

1 answer

0 vote
Andrew Er Atlassian Team Nov 05, 2014

Hi Kenichi, 

This seems to be an unusual case. Once a user is explicitly given a certain permission, the permissions and ssh keys should remain even after the user is deleted. The permission and ssh keys are stored on a completely different table in the Stash database as long as the user name that was created is similar to the one before. You could open a ticket at and we can look into it. 


Andrew Er

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

27,349 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