Show More
@@ -21,7 +21,7 b' hook is not safe to use if users have in' | |||||
21 | then disable the hook. Nor is it safe if remote users share an account, |
|
21 | then disable the hook. Nor is it safe if remote users share an account, | |
22 | because then there is no way to distinguish them. |
|
22 | because then there is no way to distinguish them. | |
23 |
|
23 | |||
24 | To use this hook, configure the acl extension in your hgrc like this: |
|
24 | To use this hook, configure the acl extension in your hgrc like this:: | |
25 |
|
25 | |||
26 | [extensions] |
|
26 | [extensions] | |
27 | hgext.acl = |
|
27 | hgext.acl = | |
@@ -36,7 +36,7 b' To use this hook, configure the acl exte' | |||||
36 |
|
36 | |||
37 | The allow and deny sections take a subtree pattern as key (with a glob syntax |
|
37 | The allow and deny sections take a subtree pattern as key (with a glob syntax | |
38 | by default), and a comma separated list of users as the corresponding value. |
|
38 | by default), and a comma separated list of users as the corresponding value. | |
39 | The deny list is checked before the allow list is. |
|
39 | The deny list is checked before the allow list is. :: | |
40 |
|
40 | |||
41 | [acl.allow] |
|
41 | [acl.allow] | |
42 | # If acl.allow is not present, all users are allowed by default. |
|
42 | # If acl.allow is not present, all users are allowed by default. |
General Comments 0
You need to be logged in to leave comments.
Login now