Skip to content

Configurable write access for deploy keys

Description

It's currently not possible to create deploy keys with write access while this is very useful at times. For example, when automatically building releases it can be convenient to push some changes back to the repository.

The suggested solution in similar issues is to use your own user for this type of behaviour. But that's the wrong solution, I have many repositories in my account and the deploy user should only have write access to a single one of them. I could add a virtual user of course, but that's a bit of a silly solution and a lot of work for what is effectively a simple deploy key with write access.

Proposal

Add a checkbox to the "add deploy key" screen to allow write access.

Links / references

Similar issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/5910

Github has a feature quite similar to the proposed one

Edited by 🤖 GitLab Bot 🤖