New Data Source GitLab Project Approval Rules
New Data Source GitLab Project Approval Rules
Hey there
I'm missing a data source to retrieve project approval rules.
I'm looking for something that I could use like this:
data "gitlab_project_approval_rules" "example" {
project = "namespace/myproject"
}
Related GitLab APIs
API documentation: https://docs.gitlab.com/api/merge_request_approvals/#list-all-approval-rules-for-a-project
Additional Details
-
GitLab REST API resources available (read for data sources, CRUD for resources) -
client-go supports the related GitLab API already -
I'd like to contribute it myself
I actually implemented it already. But I'm getting this error while trying to push the code:
ERROR: You are not allowed to push code to this project.
Is there any permission I need to have to push to this project?
Thanks in advance :)
Edited by Mark D