terraform-provider-gitlab
terraform-provider-gitlab copied to clipboard
Allow adding groups and users in gitlab_tag_protection
Feature Description
gitlab_tag_protection allows only no one, developer or maintainer as create_access_level. But via GitLab we can set custom groups and users there.
gitlab_branch_protection already supports the same: https://github.com/gitlabhq/terraform-provider-gitlab/pull/556
Do you want to implement this?
- [x] I would like to implement this myself 👷
My bad, I haven't check if it is possible to do this via GitLab API. There is no support in API right now https://gitlab.com/gitlab-org/gitlab/-/issues/344520
Looks like this functionality is now supported via GitLab API with the 15.2 release.
Implement granular access for Protected Tags API (merge request)
@bxscif I don't have the time to implement this myself right now, but I'd be super happy to review PRs - in case you are interested!
@bxscif in case you don't have time for this - I can do this
@r3nic1e if you're able to, that would be awesome. I'm about to go on vacation and wouldn't be able to get to it for a couple weeks.
@r3nic1e Yes, of course! 🎉
It's not yet in go-gitlab. So it's kinda blocked right now
I might be able to add it there today.
Any update on this?
I haven't had time unfortunately for that, yet. The offer still stands for a review ...
@timofurrer does that offer for a review stand for me? https://github.com/xanzy/go-gitlab/pull/1540