我的“编辑构建管道” Azure DevOps中的权限被设置为拒绝,但我仍然可以在Classic/Repo中编辑YAML文件?

发布于 2025-02-11 23:05:50 字数 297 浏览 2 评论 0原文

我在Azure Devops中有一个构建管道许可问题。

我为“编辑构建管道”选择了“拒绝”,Microsoft文档将其描述为:“可以创建管道并保存对构建管道的任何更改,包括配置变量,触发器,存储库和保留策略。”

但是,我仍然可以通过进入管道>仍然可以编辑并保存更改(例如触发器)到构建管道。选择管道>查看(更改)>节省。

我是一个安全小组,该小组被剥夺了最高级别的所有构建权限,并且仅授予视图,查看构建管道,停止和排队的排队。

我该如何制作它,以便可以看到管道并运行它,但无法对其进行编辑 /保存任何更改?

I have a build pipeline permissions question in Azure DevOps.

I have selected "deny" for "edit build pipeline" which Microsoft docs describes as: "Can create pipelines and save any changes to a build pipeline, including configuration variables, triggers, repositories, and retention policy."

However, I can still edit and save changes (like triggers) to the build pipeline by going to Pipelines > selecting the Pipeline > View (making changes) > Save.

I am in a security group that is denied all Build permissions at top level, and only granted view, view build pipeline, stop and queue for this pipeline.

How can I make it so I can see the pipeline and run it but not be able to edit it / save any changes to it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

捶死心动 2025-02-18 23:05:51

由于YAML文件作为源文件存储在相应的GIT存储库中,因此,如果您具有在存储库中编辑源文件的权限,则可以编辑YAML文件。它不受“ 编辑构建管道”选项的影响。

对于YAML管道,“ 编辑构建管道”选项正在影响UI设置页面上的选项。

”在此处输入图像说明”

Since the YAML files are stored as the source files in the corresponding Git repository, if you have the permissions to edit the source files in the repository, you can edit the YAML files. It is not affected by the "Edit build pipeline" option.

For the YAML pipeline, the "Edit build pipeline" option is affecting the options on the UI settings page.

enter image description here

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文