SharedWithGroup
Groups or projects on GitLab can be shared with groups. This will allow all members of the “shared with” group to access said project or group. Frigg allows you to share projects or groups with GitLab groups through its resource files.
Frigg manages shared groups declaratively:
- Adding a group to
spec.sharedWithGroupswill share the resource with that group - Changing the
accessLevelof an existing entry will update the shared access level - Removing a group from
spec.sharedWithGroupswill revoke that group’s access
Note that a resource cannot be shared with its own parent group. Frigg will report an error if this is attempted.
Schema
| Property | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Metadata name of the group you want to share this group with. |
| accessLevel | no_access | minimal_access | guest | planner | reporter | developer | maintainer | owner | admin | Yes | The access level of the group. Note: admin is only available on self-managed GitLab instances. |