Commit 048b5259 authored by Daniel STAN's avatar Daniel STAN

secrets pour site-accueil

parent 239a8dc5
......@@ -187,13 +187,17 @@ class ACLChecker(object):
return True
if user == 'www-data' and in_group('intranet2-service'):
logger.debug('ici: %s' % name.split('_', 1)[0])
if name.split('_', 1)[0] in [ 'comnpay', 'dhcp', 'digicode', 'intranet',
'ldap', 'validation', 'django']:
return True
if name.split('-', 1)[0] in ['trigger', 'icecast']:
return True
if user == 'www-data' and in_group('site-accueil-service'):
if name.startswith('ldap_readonly_') or\
name.startswith('accueil'):
return True
if user == 'www-data' and (in_group('portail-captif') or in_group('cas')) and \
name.startswith('ldap_readonly_'):
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment