User Set-up on Stash

For Stash - Please advise the difference between Global Permissions, Project Permissions and Repository Permissions. From what I understand Global Permissions are mandatory are these overwritten if Project or repository permissions are configured.

2 answers

1 accepted

0 votes

Hi Wendy,

Thank you for contacting us.

What you are saying is correct. At the same time, lets have a look to the following scenario where you have:

userA as normal user
userB as normal user

Everytime you create a new project (i.e: ProjectX), all permissions set up under Global permission will be copied accross to the new project.

ProjectX has repositoryA.git
ProjectX has repositoryB.git
ProjectX has repositoryC.git

If you provide permissions to userA to this project (ProjectX), the same will be able to see all repositories under this project (repositoryA, repositoryB and repositoryC).

If you go to repositoryA and give permissions to userB, this user will have access to ONLY repositoryA under ProjectX. The same will not be able to visualize repositoryB and repositoryC.

I hope the above answers to your question.

Please, do not hesitate on contacting us at any moment.

Kind regards,

0 votes

Hi Wendy,

In Stash, permissions are additive:

  • Global permissions apply to all projects and repositories
  • Project permissions apply to the project and all repositories in that project
  • Repository permissions apply only to that repository.

Project permissions do not overwrite global permissions, they _add_ to global permissions.



Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
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...

683 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot