If I have a user in multiple groups Read_Write and Read, and apply permissions at the project level How does stash resolve the effective permissions? Is it a basic union of the different permission sets, or is there some form of hierarchy/resolution order?
I skimmed through the permissions documentation in confluence, but I didn't see anything that seems to mention how this was resolved.
Repo permissions do not override Project permissions. Project and Repo permissions are basically additive. You will have the highest level of permission that any of your group memberships give you, whether that group was defined at the Project or Repo level.
This plugin is useful for seeing what the overall resulting set of permisons on a repo are: https://marketplace.atlassian.com/plugins/com.orbitz.stash.plugins.permission-viewer-plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two level permission
I think, repository level permission overrides project level permission.
You can test as below.
Your should have R only access to the repo under test, but RW access to other repos under the same project.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is incorrect. Project permissions are just applied to all repos in that project. Lacking a 'write' or 'admin' permission on a repo will not override the user's project level permissions. Also, the question was about permissions from different groups at the project level. In which case the user will end up with the highest level of permission from any of their groups.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would suggest that you actually perform the test as described, because I have, and the results were not what Anurag thinks they would be.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've done that one before, and agree with you. I was thanking you for your answer to his answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cool, thanks, just didn't want wrong info to propogate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.