GitlabMember
Every group or project on GitLab can have members. These are GitLab users that have access to the specific group or project with a certain access level. Frigg allows you to manage members and their access level within your resources using the GitlabMember sub-resource.
Members are managed via the spec.manageMembers flag on a group or project. When manageMembers is true, Frigg will:
- Add members that are in the YAML but not on GitLab
- Update members whose
accessLevelhas changed in the YAML - Remove members that are on GitLab but no longer listed in the YAML
Note that a member’s access level cannot be set lower than their inherited access level from a parent group. If this is attempted, Frigg will report an error.
Users marked as blocked in the Users resource will be excluded from member lists.
Schema
| Property | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Name of the user in the Users resource. The user must have a gitlabId set. |
| accessLevel | no_access | minimal_access | guest | planner | reporter | developer | maintainer | owner | admin | Yes | The access level of the user. Note: admin is only available on self-managed GitLab instances. |