Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,763
    • Issues 44,763
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,330
    • Merge requests 1,330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #21765
Closed
Open
Issue created Apr 05, 2018 by Fabio Busatto@bikebillyContributor

Group deploy tokens

Description

In https://gitlab.com/gitlab-org/gitlab-ce/issues/31591 we have project deploy tokens to allow read-only access to a project. Since many times projects are organized in groups, we can consider implementing tokens at group level.

Proposal

Group deploy tokens allow read-only access to any project in the group, same as project deploy tokens, even if it will be created after the token.

Tokens can then be exposed with a group variables to all the projects in the group.

Project level tokens should over-ride group level token

UX Proposal

  • Add a menu option CI/CD under the group sidebar menu (to support #199370 (comment 278559048))
  • Add a section Deploy tokens with options similar to project Deploy tokens
  • The description should read:
    • Group deploy tokens allow read-only access to the repositories and registry images within the group.

Group_deploy_tokens

Tests

  • If a project is part of a group when the token are configured, it should inherit the group tokens
  • If a project is added to a group after the tokens were configured, it should inherit the group tokens
  • If a project is removed from a group, group tokens should be removed from the deploy tokens of that project
Edited Feb 07, 2020 by Mike Nichols
Assignee
Assign to
Time tracking