Delete release request forbidden for developper
Summary
As a developer in a project, I tried to delete a release. I received a 403 responde, access forbidden. This is although the documentation specifies that Developers can "Create/edit/delete Releases". I was able to run successfully the exact same command once I had the maintainer status.
Steps to reproduce
- Have the developer status in a project
- Create a release using the UI (eg: v1.2.0)
- Remove the release using curl:
curl --request DELETE --header "PRIVATE-TOKEN: :personal_token" "https://gitlab.com/api/v4/projects/:id/releases/v1.2.0
- Get the maintainer status in the project
- Repeat step 3
What is the current bug behavior?
With the Developer status, step 3 returns:
{"message": "403 Forbidden"}
What is the expected correct behavior?
With the developer status, step 3 returns the release data.
Output of checks
Not able to run sudo on windows.
git version: git version 2.26.2.windows.1