changeset 11131:0b6fd18ab8af

acl: clarify acl.sources, fix typo
author Patrick Mezard <pmezard@gmail.com>
date Sun, 09 May 2010 20:12:45 +0200
parents e81966e88e80
children 321b8b2aa20f
files hgext/acl.py
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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"