Mercurial > hg
diff hgext/acl.py @ 10801:fcfe2e50faab stable
Added support for 'everybody ' (using an asterisk) in user list.
author | Elifarley Callado Coelho Cruz <elifarley@gmail.com> |
---|---|
date | Mon, 29 Mar 2010 09:15:08 -0300 |
parents | 25e572394f5c |
children | 470a6ace7574 |
line wrap: on
line diff
--- a/hgext/acl.py Tue Mar 30 02:42:21 2010 +0200 +++ b/hgext/acl.py Mon Mar 29 09:15:08 2010 -0300 @@ -63,7 +63,7 @@ return None pats = [pat for pat, users in ui.configitems(key) - if user in users.replace(',', ' ').split()] + if users == '*' or user in users.replace(',', ' ').split()] ui.debug('acl: %s enabled, %d entries for user %s\n' % (key, len(pats), user)) if pats: