[Other doc versions]
[Doc downloads (PDF, HTML, XML)]
Stash provides the following types of permissions to allow fully customisable control of access to code.
Note that you can also:
The table below summarizes the cumulative effect of the permissions described above for anonymous and logged in users. In general, repository permissions override project permissions. A personal project can not be made public.
Permission | Effect |
---|---|
BROWSE | Can view repository files, clone, pull to local |
READ | Can browse, clone, pull, create pull requests, fork to a personal project |
WRITE | Can merge pull requests |
ADMIN | Can edit settings and permissions |
Global (logged in) | Project | Repository | Branch | Effective permission |
---|---|---|---|---|
Personal | Personal | NA | No access | |
Personal | Public access | NA | BROWSE just that repo | |
No access | No access | NA | No access | |
No access | Public access | NA | BROWSE just that repo | |
Public access | Public access | NA | BROWSE all repos in project | |
Personal | Personal | NA | No access | |
Personal | Public access | NA | READ just that repo | |
No access | No access | NA | No access | |
No access | Public access | NA | READ just that repo | |
Public access | No access | NA | READ all repos in project | |
Public access | Public access | NA | READ | |
Public access | Public access | For this user | READ that branch, no WRITE | |
No access | READ | NA | READ just that repo | |
Public access | READ | NA | READ just that repo | |
READ | No access | NA | READ all repos in project | |
READ | Public access | NA | READ all repos in project | |
READ | READ | NA | READ all repos in project | |
READ | No access | For this user | READ that branch, no WRITE | |
No access | WRITE | NA | WRITE just that repo | |
Public access | WRITE | NA | WRITE just that repo | |
WRITE | No access | NA | WRITE all repos in project | |
WRITE | WRITE | NA | WRITE all repos in project | |
WRITE | WRITE | For other users | WRITE to other branches only | |
ADMIN | Can edit settings and permissions |