开发者

Mercurial set up ACL

开发者 https://www.devze.com 2023-02-13 04:54 出处:网络
I\'m trying to set up ACL. I\'ve got it mostly working. However, I\'ve got a couple of specific questions.

I'm trying to set up ACL. I've got it mostly working. However, I've got a couple of specific questions.

Basically,开发者_如何学Python 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号