Mercurial > hg
diff mercurial/hgweb/hgweb_mod.py @ 11370:db3f6f0e4e7d
pushkey: add http support
pushkey requires the same permissions as push
listitems requires the same permissions as pull
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 16 Jun 2010 16:05:19 -0500 |
parents | 5efbfa662b3c |
children | 26c7d4fc31bf a72c5ff1260c |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Jun 16 16:05:13 2010 -0500 +++ b/mercurial/hgweb/hgweb_mod.py Wed Jun 16 16:05:19 2010 -0500 @@ -16,8 +16,10 @@ perms = { 'changegroup': 'pull', 'changegroupsubset': 'pull', + 'stream_out': 'pull', + 'listkeys': 'pull', 'unbundle': 'push', - 'stream_out': 'pull', + 'pushkey': 'push', } class hgweb(object):