Mercurial > hg
comparison hgext/acl.py @ 33216:fc2baecdef1d
configitem: create a new list of each 'acl.sources' access
Thanks for goes to Yuya for spotting this.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 02 Jul 2017 23:10:33 +0200 |
parents | 2b233065f57a |
children | cfb054a7ecc4 |
comparison
equal
deleted
inserted
replaced
33215:b7f6885cb055 | 33216:fc2baecdef1d |
---|---|
217 # deprecated config: acl.config | 217 # deprecated config: acl.config |
218 configitem('acl', 'config', | 218 configitem('acl', 'config', |
219 default=None, | 219 default=None, |
220 ) | 220 ) |
221 configitem('acl', 'sources', | 221 configitem('acl', 'sources', |
222 default=['serve'], | 222 default=lambda: ['serve'], |
223 ) | 223 ) |
224 | 224 |
225 def _getusers(ui, group): | 225 def _getusers(ui, group): |
226 | 226 |
227 # First, try to use group definition from section [acl.groups] | 227 # First, try to use group definition from section [acl.groups] |