Skip to content

GitLab integration: store connection credentials #7159

@emyller

Description

@emyller

Context: #7000

Users connecting their GitLab instance to Flagsmith need to provide an instance URL and an access token with api scope. The integration supports personal access tokens, group access tokens, and project access tokens. The token type determines which projects are accessible.

Scope

Store GitLab credentials at the organisation level. Two fields:

  • GitLab Instance URL (e.g. https://gitlab.com or https://gitlab.example.com)
  • Access Token (api scope)

Note

#7121 contains a GitLabConfiguration model and CRUD viewset that can be used as a starting point. A few things to adjust:

Acceptance criteria

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions