Make a Project Private
A private project is a project that is hidden from anyone but a specific user group(s) or individual users.
Private projects are available for users with commercial subscription plans only, because if you have a free licence, you cannot ban or restrict access for the guest user.
To make a project private:
- Restrict access to the project for anonymous users (guest account).
- Ensure that the 'All users' group does not have permissions to view the project.
- Make sure that any of the user groups that are assigned to the Global do not have access to the project as well.
- As auth modules or integrations can also add users to groups, make sure that such groups do not have access to the project.
- Check that other groups, except the group that should view the project, do not have access to the project.
- Grant permissions to access the target project to the desired user group and/or individual user(s).
This is the outline of the procedure. Now, let's elaborate a bit.
To restrict access for anonymous users, you can do either of the following:
- Ban the guest user account.
- Configure the roles assigned to the guest user account so it is not able to view issues in the project.
To restrict project access to groups and users:
- Open the page.
- To view all groups that have access to the target project, filter the list of the groups with the search query:
access(project: <target project ID>)
- For each group that should not have the access to the target project, open its <group name> > Roles tab.
- Select all roles that are assigned to the group in the target or the Global project, and click the Revoke role button.
- When done, repeat the second step - filter the groups list - to make sure that only required groups have the access to the target project.
- Open the
page, and repeat the previous steps:
- Filter the users list with the same query.
- For those who should not have access to the target project, revoke roles.
For more information about about managing user groups, see Groups.