Show More
@@ -74,7 +74,7 b' Example Configuration' | |||||
74 |
|
74 | |||
75 | # Use this if you want to check access restrictions at commit time |
|
75 | # Use this if you want to check access restrictions at commit time | |
76 | pretxncommit.acl = python:hgext.acl.hook |
|
76 | pretxncommit.acl = python:hgext.acl.hook | |
77 |
|
77 | |||
78 | # Use this if you want to check access restrictions for pull, push, |
|
78 | # Use this if you want to check access restrictions for pull, push, | |
79 | # bundle and serve. |
|
79 | # bundle and serve. | |
80 | pretxnchangegroup.acl = python:hgext.acl.hook |
|
80 | pretxnchangegroup.acl = python:hgext.acl.hook | |
@@ -87,27 +87,27 b' Example Configuration' | |||||
87 | # Default: serve |
|
87 | # Default: serve | |
88 | sources = serve |
|
88 | sources = serve | |
89 |
|
89 | |||
90 |
[acl.deny.branches] |
|
90 | [acl.deny.branches] | |
91 |
|
91 | |||
92 |
# Everyone is denied to the frozen branch: |
|
92 | # Everyone is denied to the frozen branch: | |
93 |
frozen-branch = * |
|
93 | frozen-branch = * | |
94 |
|
94 | |||
95 |
# A bad user is denied on all branches: |
|
95 | # A bad user is denied on all branches: | |
96 |
* = bad-user |
|
96 | * = bad-user | |
97 |
|
97 | |||
98 |
[acl.allow.branches] |
|
98 | [acl.allow.branches] | |
99 |
|
99 | |||
100 |
# A few users are allowed on branch-a: |
|
100 | # A few users are allowed on branch-a: | |
101 |
branch-a = user-1, user-2, user-3 |
|
101 | branch-a = user-1, user-2, user-3 | |
102 |
|
102 | |||
103 |
# Only one user is allowed on branch-b: |
|
103 | # Only one user is allowed on branch-b: | |
104 |
branch-b = user-1 |
|
104 | branch-b = user-1 | |
105 |
|
105 | |||
106 |
# The super user is allowed on any branch: |
|
106 | # The super user is allowed on any branch: | |
107 |
* = super-user |
|
107 | * = super-user | |
108 |
|
108 | |||
109 |
# Everyone is allowed on branch-for-tests: |
|
109 | # Everyone is allowed on branch-for-tests: | |
110 |
branch-for-tests = * |
|
110 | branch-for-tests = * | |
111 |
|
111 | |||
112 | [acl.deny] |
|
112 | [acl.deny] | |
113 | # This list is checked first. If a match is found, acl.allow is not |
|
113 | # This list is checked first. If a match is found, acl.allow is not |
General Comments 0
You need to be logged in to leave comments.
Login now