From 98b56fbae6fd7ead971ccf5441e3f3df1ae0f99d Mon Sep 17 00:00:00 2001 From: Joe Randazzo <jrandazzo@gitlab.com> Date: Thu, 11 Apr 2024 11:15:01 +0000 Subject: [PATCH] Update deprecation entry for custom roles to include the API changes --- data/deprecations/17-0-custom-role-creation.yml | 6 ++++++ doc/update/deprecations.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/data/deprecations/17-0-custom-role-creation.yml b/data/deprecations/17-0-custom-role-creation.yml index d1c4387f0a00..5e1cc4f3a102 100644 --- a/data/deprecations/17-0-custom-role-creation.yml +++ b/data/deprecations/17-0-custom-role-creation.yml @@ -10,3 +10,9 @@ Group Owners will be able to assign custom roles at the group level. Group owners on GitLab.com can continue to manage custom roles and assign at the group level. + + If using the API to manage custom roles on a self-managed instance, a new instance endpoint has been added and is required to continue API operations. + + - List all member roles on the instance - `GET /api/v4/member_roles` + - Add member role to the instance - `POST /api/v4/member_roles` + - Remove member role from the instance - `DELETE /api/v4/member_roles/:id` diff --git a/doc/update/deprecations.md b/doc/update/deprecations.md index 21939395cf6e..d0eba77dfe83 100644 --- a/doc/update/deprecations.md +++ b/doc/update/deprecations.md @@ -932,6 +932,12 @@ Group Owners will be able to assign custom roles at the group level. Group owners on GitLab.com can continue to manage custom roles and assign at the group level. +If using the API to manage custom roles on a self-managed instance, a new instance endpoint has been added and is required to continue API operations. + +- List all member roles on the instance - `GET /api/v4/member_roles` +- Add member role to the instance - `POST /api/v4/member_roles` +- Remove member role from the instance - `DELETE /api/v4/member_roles/:id` + </div> <div class="deprecation breaking-change" data-milestone="17.0"> -- GitLab