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 vote

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,
Rafael

0 vote

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.

Cheers,

Michael

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

1,764 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