# HG changeset patch # User Patrick Mezard # Date 1273428765 -7200 # Node ID 0b6fd18ab8af9f566185829ca8426e77c96aecf2 # Parent e81966e88e800c040afb0f97b957cf37c9196c4a acl: clarify acl.sources, fix typo diff -r e81966e88e80 -r 0b6fd18ab8af hgext/acl.py --- a/hgext/acl.py Sun May 09 19:37:16 2010 +0200 +++ b/hgext/acl.py Sun May 09 20:12:45 2010 +0200 @@ -80,9 +80,11 @@ pretxnchangegroup.acl = python:hgext.acl.hook [acl] - # Check whether the source of incoming changes is in this list where - # "serve" == ssh or http, and "push", "pull" and "bundle" are the - # corresponding hg commands. + # Allow or deny access for incoming changes only if their source is + # listed here, let them pass otherwise. Source is "serve" for all + # remote access (http or ssh), "push", "pull" or "bundle" when the + # related commands are run locally. + # Default: serve sources = serve [acl.deny.branches] @@ -126,7 +128,7 @@ src/main/resources/DONT-TOUCH-THIS.txt = * [acl.allow] - # if acl.allow not present, all users allowed by default + # if acl.allow is not present, all users are allowed by default # empty acl.allow = no users allowed # User "doc_writer" has write access to any file under the "docs"