[PATCH 0 of 3] ACL: Support for OS-level groups (using '@group' syntax)
elifarley at gmail.com
elifarley at gmail.com
Wed Apr 28 14:23:42 UTC 2010
These patches allow you to specify OS-level user groups instead of specifying user by user.
Here's an example:
[acl]
sources = serve
[acl.deny]
* = bad-user
# Denies access to all users pertaining to OS-level group 'hg-denied':
* = @hg-denied
[acl.allow]
# Works as before.
# Allows access to all users pertaining to OS-level group 'hg-designers':
images/** = @hg-designers
---
hgext/acl.py | 17 ++-
hgext/acl.py | 67 ++++++++--
tests/test-acl | 47 +++++++
tests/test-acl.out | 322 +++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 439 insertions(+), 14 deletions(-)
More information about the Mercurial-devel
mailing list