2021-01-29 00:20:46 +05:30
---
stage: none
group: unassigned
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2021-01-29 00:20:46 +05:30
---
2018-03-17 18:26:18 +05:30
# Share Projects with other Groups
You can share projects with other [groups ](../../group/index.md ). This makes it
possible to add a group of users to a project with a single action.
## Groups as collections of users
Groups are used primarily to [create collections of projects ](../../group/index.md ), but you can also
take advantage of the fact that groups define collections of _users_ , namely the group
members.
## Sharing a project with a group of users
The primary mechanism to give a group of users, say 'Engineering', access to a project,
say 'Project Acme', in GitLab is to make the 'Engineering' group the owner of 'Project
2020-03-13 15:44:24 +05:30
Acme'. But what if 'Project Acme' already belongs to another group, say 'Open Source'?
2018-03-17 18:26:18 +05:30
This is where the group sharing feature can be of use.
2018-05-09 12:01:36 +05:30
To share 'Project Acme' with the 'Engineering' group:
2018-03-17 18:26:18 +05:30
2021-02-22 17:27:13 +05:30
1. For 'Project Acme' use the left navigation menu to go to **Members** .
2018-03-17 18:26:18 +05:30
2021-03-11 19:13:27 +05:30
![share project with groups ](img/share_project_with_groups_tab_v13_9.png )
2018-03-17 18:26:18 +05:30
2021-02-22 17:27:13 +05:30
1. Select the **Invite group** tab.
1. Add the 'Engineering' group with the maximum access level of your choice.
1. Optionally, select an expiring date.
1. Click **Invite** .
2021-03-08 18:12:59 +05:30
1. After sharing 'Project Acme' with 'Engineering':
- The group is listed in the **Groups** tab.
2018-03-17 18:26:18 +05:30
2021-03-11 19:13:27 +05:30
!['Engineering' group is listed in Groups tab ](img/project_groups_tab_v13_9.png )
2018-03-17 18:26:18 +05:30
2021-03-08 18:12:59 +05:30
- The project is listed on the group dashboard.
2018-03-17 18:26:18 +05:30
2021-03-08 18:12:59 +05:30
!['Project Acme' is listed as a shared project for 'Engineering' ](img/other_group_sees_shared_project_v13_8.png )
2018-05-09 12:01:36 +05:30
Note that you can only share a project with:
- groups for which you have an explicitly defined membership
- groups that contain a nested subgroup or project for which you have an explicitly defined role
2021-02-22 17:27:13 +05:30
Administrators are able to share projects with any group in the system.
2018-03-17 18:26:18 +05:30
## Maximum access level
2021-02-22 17:27:13 +05:30
In the example above, the maximum access level of 'Developer' for members from 'Engineering' means that users with higher access levels in 'Engineering' ('Maintainer' or 'Owner') only have 'Developer' access to 'Project Acme'.
2018-03-17 18:26:18 +05:30
2019-10-31 01:37:42 +05:30
## Sharing public project with private group
2021-02-22 17:27:13 +05:30
When sharing a public project with a private group, owners and maintainers of the project see the name of the group in the `members` page. Owners also have the possibility to see members of the private group they don't have access to when mentioning them in the issue or merge request.
2019-10-31 01:37:42 +05:30
2018-03-17 18:26:18 +05:30
## Share project with group lock
It is possible to prevent projects in a group from [sharing
a project with another group](../members/share_project_with_groups.md).
This allows for tighter control over project access.
2021-04-17 20:07:23 +05:30
Learn more about [Share with group lock ](../../group/index.md#prevent-a-project-from-being-shared-with-groups ).