开发者

ACL extension on main mercurial repository

I have the following setup on my servers hgrc file:

[extensions]
acl =

[acl]
sources = serve, push

[acl.allow]

I was expecting this would block my clients from pushing anything to the repository, however they can still push fine. When I try and push from the server, I get the desired result of not being able to push anything.

Does the ACL extension rely on editing each clients hgrc file? Doesn't seem like that's very helpful if they can just change their own access.

开发者_运维百科

Thanks for any help!


I got this to work by removing the

[acl]
sources= server, push

section of my hgrc file. I read that you don't normally need to configure this, so I just removed it and everything seems to be working as desired now!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜