Skip to content

Add member_role_id to group create

What does this MR do and why?

This adds documentation to the POST endpoint of creating a member permission on a group or project. This is works on the api and is documented on the update/ PUT event.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image.png image.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

I'm working on a few other tickets (adding this feature to terraform), but you can see in this the log messages show a 201 on a POST to this endpoint.

terraform-provider-gitlab#6186 https://github.com/xanzy/go-gitlab/issues/1867

image.png

Edited by Dan Fredell

Merge request reports