acl: clarify acl.sources, fix typo
authorPatrick Mezard <pmezard@gmail.com>
Sun, 09 May 2010 20:12:45 +0200
changeset 11131 0b6fd18ab8af
parent 11130 e81966e88e80
child 11132 321b8b2aa20f
acl: clarify acl.sources, fix typo
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"