Skip to content

Add admin_cicd_variables custom ability for projects

What does this MR do and why?

This allows admin access to Project CI/CD variables as a customizable ability, so that it can be added onto any base role.

Issue: #437947 (closed)

Screenshots or screen recordings

Group member with base access level guest and the custom admin_cicd_variables role:

Screenshot_2024-02-13_at_16.26.42

How to set up and validate locally

  1. Enable the custom_ability_admin_cicd_variables Feature Flag:
    Feature.enable(:custom_ability_admin_cicd_variables)
  2. Create a group and a project and apply the Ultimate license to the group
  3. If SaaS mode is:
  4. Invite a user to the group and assign the new custom role to the user
  5. Visit http://localhost:3000/groups/{new_group}/{new_project}/-/settings/ci_cd and verify the page is accessible and you can view/create/edit/delete project variables
Edited by Alex Buijs

Merge request reports

Loading