Mercurial设置ACL
我正在尝试设置 ACL。我已经让它大部分工作了。不过,我有几个具体问题。
基本上,我正在尝试建立一个组 @group,该组将被允许访问 xxxx-integration-xxxx 形式的一堆分支。我想做的是:
[acl.allow.branches]
*integration* = @group
然而,这似乎不起作用。有没有简单的方法可以做到这一点?
谢谢
I'm trying to set up ACL. I've got it mostly working. However, I've got a couple of specific questions.
Basically, I'm trying to set up a group @group that will be allowed to access a bunch of branches of the form xxxx-integration-xxxx. What I want to do is:
[acl.allow.branches]
*integration* = @group
however, that doesn't seem to work. Is there an easy way to do this?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试挂接 pretxnchangegroup 并编写一个 python 脚本来获取分支和用户并在那里找出答案。据我所知,没有用于命名分支的 ACL 预制内容。
Try hooking on pretxnchangegroup and writing a python script that gets the branch and the user and figure it out in there. There is no ACL premade stuff for named branches that i know of.