# HG changeset patch # User Mikhail Sobolev # Date 1151361667 -10800 # Node ID 5e39ad2c8b527aa611eb2d06861c0637ed7aea79 # Parent 713de12d9ce5438ad7b55eca306fae547dd1a7c2 really treat the right side of acl.{allow,deny} as a list of users the current implementation seems to expect only user per pattern, which contradicts the documentation available at the file beginning. diff -r 713de12d9ce5 -r 5e39ad2c8b52 hgext/acl.py --- a/hgext/acl.py Tue Sep 05 11:33:47 2006 +0200 +++ b/hgext/acl.py Tue Jun 27 01:41:07 2006 +0300 @@ -60,8 +60,8 @@ return None, False thisuser = self.getuser() - pats = [pat for pat, user in self.ui.configitems(key) - if user == thisuser] + pats = [pat for pat, users in self.ui.configitems(key) + if thisuser in users.replace(',', ' ').split()] self.ui.debug(_('acl: %s enabled, %d entries for user %s\n') % (key, len(pats), thisuser)) if pats: