[英]Azure DevOps Pipeline - Service Connection Permission
Assuming an Azure DevOps pipeline has been authorized to use a service connection.假设 Azure DevOps 管道已被授权使用服务连接。 If the user that is running the pipeline does NOT have permission on the same service connection, will he/she be able to run the pipeline still?如果运行管道的用户没有相同服务连接的权限,他/她还能运行管道吗? Just want to see which takes precedence.只是想看看哪个优先。
Thanks谢谢
The pipeline use the service connection via pipeline service account
instead of personal account
.管道通过pipeline service account
而不是personal account
使用服务连接。 Assuming an Azure DevOps pipeline has been authorized to use a service connection.假设 Azure DevOps 管道已被授权使用服务连接。 If the user that is running the pipeline does NOT have permission on the same service connection, He can still run the pipeline如果运行管道的用户对同一服务连接没有权限,他仍然可以运行管道
Test A测试A
I create a service connection via account A->open service connection->add yaml build in the Pipeline permissions->run the yaml build via account B, it works.我通过帐户 A->打开服务连接->在管道权限中添加 yaml 构建创建服务连接->通过帐户 B 运行 yaml 构建,它可以工作。
Result:结果:
Test B测试 B
If I remove the yaml build in the pipeline permission and run the build, it need to permit the permission如果我在管道权限中删除 yaml 构建并运行构建,则需要允许该权限
Result :结果:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.