Projects
Project access and roles
Control who can see a project, give people a project role, and look up what each role can do.
On this page
Share a project to control who can see it and what each person can change. Project visibility sets who can see the project. A project grant gives a user or a team a project role, which sets what they can change.
Only project administrators can change these settings. Workspace owners and administrators are project administrators on every project.
Set the project visibility
A project is either Private or Public, and a new project starts as Private. Public means public inside your workspace, so people outside the workspace never see the project.
| Visibility | Who can see the project |
|---|---|
| Private | People with a project grant, and workspace owners and administrators. |
| Public | Every member of the workspace. A member without a project grant is a viewer. |
You can change the visibility at any time from the properties on the project overview:
- Open the project overview.
- In the Project properties, click the visibility value.
- Select Private or Public. The change applies at once, and you can undo it from the message that shows.
Visibility controls reading only. To change anything in a project, a person needs a project grant with a high enough role, or the workspace Owner or Admin role.
Project roles
Each project grant has one of four project roles, and each role can do everything that the role before it can do.
| Role | What it adds |
|---|---|
| Viewer | Can read the project overview and release history. |
| Contributor | Can update components and release candidates. |
| Release manager | Can promote releases for this project. |
| Admin | Can manage project grants, visibility and project settings. |
What each role can do
Each tab lists the actions of one area and the lowest role that can do each of them.
| Action | Lowest role |
|---|---|
| See the project, its components and its releases | Viewer |
| See the pull requests of a release | Viewer |
| Open the project settings (read only) | Viewer |
| Action | Lowest role |
|---|---|
| Add a component to the project | Contributor |
| Add, remove or restore components in an open candidate | Contributor |
| Add or remove components in Genesis before it is complete | Contributor |
| Action | Lowest role |
|---|---|
| Start or complete Genesis | Release manager |
| Create a release or a new candidate | Release manager |
| Promote, demote or abandon a release | Release manager |
| Restore a superseded candidate as a new candidate | Release manager |
| Action | Lowest role |
|---|---|
| Change the name, description, labels or visibility | Admin |
| Add, change or remove project grants | Admin |
| Change the Digest and Sources settings | Admin |
| Turn Catalog sync on or off, sync a source, or adopt a component | Admin |
| See the catalog findings of the project | Admin |
| Delete the project | Admin |
Give someone access
You can give access only to members of the workspace, because the Add access dialog lists no one else. To give access to someone outside the workspace, invite them to the workspace first, as Manage workspace members explains.
- Open the project and press
Cmd+K(orCtrl+K). - Select Project settings, and then click Access.
- Click Add access.
- Search by name or email, and then select the person.
- Click Done. The person shows under Users with a new project grant that has the Viewer role.
Change a role
To give a person or a team another role on the project:
- In the Access list, open the menu at the end of the row.
- Select Change role, and then select the new role.
Remove access
To remove a project grant:
- In the Access list, open the menu at the end of the row.
- Select Remove.
- In the Revoke access? dialog, click Revoke.
Revoking removes only the project grant. If the project is Public, the person can still see it as a member of the workspace. Workspace owners and administrators keep their administrator access.
Teams
A project grant can go to a team of the workspace, and every member of the team then has the role of that grant. The Access list shows team grants under Teams. A person can also have their own grant and the grants of their teams on one project, and Patchbay uses the strongest of these roles.
Workspace roles
A workspace has three roles, Owner, Admin and Member, and each one affects projects in a different way. To manage them, see Manage workspace members.
| Workspace role | Effect on projects |
|---|---|
| Owner or Admin | Project administrator on every project, with or without a project grant. Can review project proposals and see the catalog findings of the workspace. |
| Member | Can create a project and becomes its project administrator. Other access comes from project grants and project visibility. |
How Patchbay picks your role
The person who creates a project gets an Admin grant on it. After that, Patchbay checks these rules in order and stops at the first one that applies:
- If you are a workspace owner or administrator, your role is Admin, so you cannot lose access to a project.
- If you have project grants, your role is the strongest of them, which includes your own grant and the grants of your teams.
- If the project is Public and you are a workspace member, your role is Viewer.
- Otherwise you have no access, and the project does not show for you.
Access is checked again for background work
Some work, such as Genesis, runs in the background after you start it. Patchbay checks your role again before the work runs, and if you lost the required role in the meantime, the work stops.