存储库GIT中单个用户的权限 [英] Permission for single user in Repository GIT

查看:72
本文介绍了存储库GIT中单个用户的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为GIT存储库设置安全级别,以便它是唯一一个对输入的代码具有写权限的域用户。所有其他人只有读取权限。我注意到这可以通过Web实现,你也可以将这个
选项设置为XML文件端吗? "VersionControl \ VersionControl.xml" - 谢谢Gabriele

解决方案

您好Gabriele Passerini,


您可以下载流程模板并更改VersioniControl.xml ,只给项目管理员,构建管理员,贡献者和读者  GenericRead
权限,如下所示:

< git> 
< permission allow =" GenericRead"同一性= QUOT;

PROJECTNAME

\

I need to set the security level for the GIT repository so that it is one and only domain user to have write permissions on the entered code. All others will only have read permissions. I noticed that this is possible via the Web, can you also set this option to XML file side? "VersionControl \ VersionControl.xml" - Thank you Gabriele

解决方案

Hi Gabriele Passerini,

You could download a process template and change VersioniControl.xml, only give Project Administrators, Build Administrators, Contributors and Readers GenericRead permission, like this:

 <git>
        <permission allow="GenericRead" identity="


PROJECTNAME


\


这篇关于存储库GIT中单个用户的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆