简体   繁体   English

Azure DevOps Pipeline - 服务连接权限

[英]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.

相关问题 Azure Devops 权限服务连接到特定发布管道 - Azure Devops Permission Service Connection to specific Release Pipeline Azure Devops - Pipeline 无权使用引用的服务连接 - Azure Devops - Pipeline does not have permissions to use the referenced service connection 无法在 Azure DevOps 发布管道任务中更改服务连接 - Can't change service connection in Azure DevOps release pipeline task Azure Devops 发布管道导致服务连接错误 - Azure Devops Release pipeline causing Service Connection Error Github企业服务连接在Azure DevOps版本管道工件中不可用 - Github Enterprise Service Connection not available in Azure DevOps Release Pipeline Artifacts azure DevOps - 到 Azure 的服务连接 - azure DevOps - Service connection to Azure azure devops 本地代理管道权限被拒绝 - azure devops local agent pipeline permission denied 无法在 Azure DevOps(发布管道)中获取 Azure 容器注册表的服务连接 - Unable to get the service connection for Azure Container Registry in Azure DevOps (Release Pipeline) Azure Devops管道SSH错误连接 - Azure Devops pipeline SSH error connection Azure DevOps Pipeline 使用旧的连接字符串 - Azure DevOps Pipeline using old connection string
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM