comparison hgext/acl.py @ 11057:7f0796a0b35c

acl: fix ReST syntax in docstring
author Martin Geisler <mg@lazybytes.net>
date Sat, 01 May 2010 14:20:17 +0200
parents d82f3651cd13
children f6dcbeb5babe
comparison
equal deleted inserted replaced
11056:b7b232b6164d 11057:7f0796a0b35c
24 24
25 The deny list is checked before the allow list is. 25 The deny list is checked before the allow list is.
26 26
27 The allow and deny sections take key-value pairs, having a subtree pattern 27 The allow and deny sections take key-value pairs, having a subtree pattern
28 as key (with a glob syntax by default). The corresponding value can be either: 28 as key (with a glob syntax by default). The corresponding value can be either:
29
29 1) an asterisk, to match everyone; 30 1) an asterisk, to match everyone;
30 2) a comma-separated list containing users and groups. 31 2) a comma-separated list containing users and groups.
31 32
32 Group names must be prefixed with an @ symbol. 33 Group names must be prefixed with an @ symbol.
33 Specifying a group name has the same effect as specifying all the users in 34 Specifying a group name has the same effect as specifying all the users in
34 that group. 35 that group.
35 The set of users for a group is taken from "grp.getgrnam" 36 The set of users for a group is taken from "grp.getgrnam"
36 (see http://docs.python.org/library/grp.html#grp.getgrnam). 37 (see http://docs.python.org/library/grp.html#grp.getgrnam).
37 38
38 To use this hook, configure the acl extension in your hgrc like this: 39 To use this hook, configure the acl extension in your hgrc like this::
39 40
40 [extensions] 41 [extensions]
41 acl = 42 acl =
42 43
43 [hooks] 44 [hooks]