Stash provides the following types of permissions to allow fully customisable control of access to code:

Global permissions

Project permissions

Repository permissions

Branch permissions