Mercurial > hg
comparison hgext/acl.py @ 11423:776f9784b34b
acl: delete trailing whitespace in docstring
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 20 Jun 2010 19:48:28 +0200 |
parents | 1f26cf0a3663 |
children | dce09f82f619 |
comparison
equal
deleted
inserted
replaced
11422:9191585f2604 | 11423:776f9784b34b |
---|---|
72 | 72 |
73 [hooks] | 73 [hooks] |
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 |
81 | 81 |
82 [acl] | 82 [acl] |
85 # remote access (http or ssh), "push", "pull" or "bundle" when the | 85 # remote access (http or ssh), "push", "pull" or "bundle" when the |
86 # related commands are run locally. | 86 # related commands are run locally. |
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 |
114 # checked. All users are granted access if acl.deny is not present. | 114 # checked. All users are granted access if acl.deny is not present. |
115 # Format for both lists: glob pattern = user, ..., @group, ... | 115 # Format for both lists: glob pattern = user, ..., @group, ... |