ACL in Mercurial -


i'm trying acl working in mercurial. now, i'm not positive work @ because i'm using hg 1.5.1. (i'm working on figuring out have talk to upgrade me)

assuming 1.5.1 support it, hgrc file looks like:

[extensions] acl =  [hooks]  # use if want check access restrictions @ commit time pretxncommit = python:hgext.acl.hook  # use if want check access restrictions pull, push, # bundle , serve. pretxnchangegroup = python:hgext.acl.hook  [acl] # check whether source of incoming changes in list # "serve" == ssh or http, , "push", "pull" , "bundle" # corresponding hg commands.  sources = serve push pull 

etc

i'm getting:

error: pretxnchangegroup hook failed: acl: access denied changeset 242c80d5c009 transaction abort! rollback completed abort: acl: access denied changeset 242c80d5c009 

currently, i'm doing on tiny non-server repo, on normal large https server...

thanks

edit: [ changed hgrc file] ok, seem 1/2 there. when try push on branch i'm not allowed to, get:

error: pretxnchangegroup.acl hook failed: acl: user "brian_postow" not allowed on branch "branch-b" (changeset "597eddef10a1") transaction abort! rollback completed abort: acl: user "brian_postow" not allowed on branch "branch-b" (changeset "597eddef10a1") 

which looks correct (maybe?) however, when push branch am allowed to, get:

error: pretxnchangegroup.acl hook failed: acl: access denied changeset 242c80d5c009 transaction abort! rollback completed abort: acl: access denied changeset 242c80d5c009 

so, still don't appear able push... ideas?

actually solved problem. problem had [acl allow] nothing in it... thought branches.allow supercede allow, guess not.

thanks.!


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -