简体   繁体   English

Azure DevOps 阶段权限

[英]Azure DevOps Stage Permissions

I have created a release pipeline with multiple stages.我创建了一个具有多个阶段的发布管道。 Now I would like on users form the Release Manager group or Project Administrators group to be able to deploy some of these stages.现在,我希望来自 Release Manager 组或 Project Administrators 组的用户能够部署其中的一些阶段。

I have tried to denied "Manage Deployments" to the other groups but it seems as soon as Contributors lose this, no one, not even members of the above groups with the permission set to Allow can deploy the stage anymore.我试图拒绝其他组的“管理部署”,但似乎一旦贡献者失去了这一点,没有人,甚至上述组的成员都不能再部署阶段了。 BTW, members of the allowed groups are also members of Contributors.顺便说一句,允许组的成员也是贡献者的成员。

I tried both just updating the permission and removing Inherited permissions and then removing the permission for those groups and still no go.我尝试只更新权限和删除继承权限,然后删除这些组的权限,但仍然没有成功。

Is there any way to remove this permission from Contributors but sill allow members of Contributors + Release Manager + Project Managers to deploy?有什么方法可以从贡献者中删除此权限,但仍允许贡献者 + 发布经理 + 项目经理的成员进行部署?

Thank you谢谢

Is there any way to remove this permission from Contributors but sill allow members of Contributors + Release Manager + Project Managers to deploy?有什么方法可以从贡献者中删除此权限,但仍允许贡献者 + 发布经理 + 项目经理的成员进行部署?

I could reproduce the scene you mentioned.我可以重现你提到的场景。 It seems that the permissions of the Contributors group will override the permissions of the other two groups.看来Contributors group的权限会覆盖其他两个组的权限。

To solve this issue, you could set the Manage Deployments as Not Set instead of Deny .要解决此问题,您可以将Manage Deployments Not SetNot Set而不是Deny At the same time, you need the disable Inheritance option.同时,您需要disable Inheritance选项。

Note: If you set Not Set , people in the contributor group cannot deploy, but if some of them are in other groups with this permission, they will inherit the permissions from other groups注意:如果你设置了Not Set ,贡献者组中的人不能部署,但如果他们中的一些人在其他组中有这个权限,他们会继承其他组的权限

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM