Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] #1427

Open
whsh-ca opened this issue Dec 18, 2024 · 0 comments
Open

[Feature Request] #1427

whsh-ca opened this issue Dec 18, 2024 · 0 comments
Labels
Feature Feature Work required.

Comments

@whsh-ca
Copy link

whsh-ca commented Dec 18, 2024

Is your feature request related to a problem? Please describe.

We want to use the DevOps CLI to turn off inheritance at the "All branches" level for a newly created repo then remove built-in/inherited groups such as Build Administrators and Project Collection Administrators as well as configure custom ones e.g. My_Project_Group using

az devops security permission update --allow-bit $custom_permission_bits --id 2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87 --subject "$myGroupDescriptor" --token "$branchToken" --output table

There is a request #848 quite a few years ago and the solution offered then was to use the REST API. I'm not sure whether it works for our case because we want to turn off inheritance and configure custom access at the "All Branches" level so that any branch created afterwards will inherit the custom configuration instead of the organizational wide one. However, "token" is specific to given branch like main as far as I know.

As it has been several years, I'm wondering whether it's implemented already although I cannot find a CLI command that accomplish this.

Describe the solution you'd like

Add the feature so that permission inheritance can be disabled the same as the feature available on the DevOps GUI.

Additional context

@whsh-ca whsh-ca added the Feature Feature Work required. label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature Work required.
Projects
None yet
Development

No branches or pull requests

1 participant