使用AZ DevOps CLI的回复级安全权限?
是否可以通过AZ DevOps CLI(对于Ex:Az DevOps安全权限命令)在回购级别设置REPO安全设置,以便项目中的特定用户(和Admin)只能可见/可访问回购?
我本质上是在寻找命令,该命令将授予特定用户访问特定repo @ repo-level
Is it possible through az devops CLI (for ex: az devops security permissions commands) to set repo security settings at the repo level so that a repo may only be visible/accessible to specific users (and admin) in the project?
I am essentially looking for commands which will grant a specific user access to a specific repo @ repo-level
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用az devops security permission update Azure Cli and use
2e9eb7ed-3c0a-47d4- 87C1-0FFDD275FD87
作为ID参数:是的。这是一个例子。请用您自己的信息替换括号及其内容:
请注意
- 允许位2
。数字2
请参阅读取存储库的许可。因此,如果要让用户/组可以访问存储库,则需要使用
- 允许位2
。如果要让用户/组无法访问存储库,则需要使用- deny-bit 2
。You can use az devops security permission update Azure Cli and use
2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87
as the id parameter:Yes. Here is an example. Please replace the braces and their contents with your own information:
Please notice the
--allow-bit 2
. The number2
refer to the Read permission of a repository.So if you want to let a user/group can access to a repository, you need to use
--allow-bit 2
. If you want to let a user/group cannot access to a repository, you need to use--deny-bit 2
.