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

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

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.

Cheers,

Michael

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,365 views 9 12
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