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.sharedWithGroups will share the resource with that group
  • Changing the accessLevel of an existing entry will update the shared access level
  • Removing a group from spec.sharedWithGroups will 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

PropertyTypeRequiredDescription
namestringYesMetadata name of the group you want to share this group with.
accessLevelno_access | minimal_access | guest | planner | reporter | developer | maintainer | owner | adminYesThe access level of the group. Note: admin is only available on self-managed GitLab instances.