microsoft / microsoft/azure-devops-go-api

Allow to grant or deny service connection access to pipelines

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
223
Forks
92
PR merge metrics
No merged PRs in 30d

Description

At the moment is not possible to update the pipeline access permissions to service connection using this SDK.

The endpoint to do so is the following:

PATCH /{organization}/{project}/_apis/pipelines/pipelinePermissions/endpoint/{endpointId}

This new method could be added in https://github.com/microsoft/azure-devops-go-api/blob/dev/azuredevops/pipelines/client.go.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in azuredevops/pipelines/client.go and use the listed PATCH endpoint as the target for the SDK addition. Check the endpoint's expected request and response shapes, then verify that the new method allows pipeline access to a service connection to be granted or denied.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.