39 lines
1.2 KiB
Python
Executable file
39 lines
1.2 KiB
Python
Executable file
#! /usr/bin/env python
|
|
# -*- coding: iso-8859-15 -*-
|
|
|
|
# les mots de passe sont cryptés avec la commande :
|
|
# python -c "import sha ; print sha.new('***').hexdigest()"
|
|
|
|
# Répartitition des bornes dans les batiments
|
|
#############################################
|
|
|
|
# batiment Léonard de Vinci
|
|
bornes_vinci_dgm = ['astrild', 'nanna']
|
|
bornes_vinci_fab = ['hel']
|
|
bornes_vinci_dgc = ['frigg']
|
|
bornes_vinci = bornes_vinci_dgm + bornes_vinci_fab + bornes_vinci_dgc
|
|
|
|
# batiment cournot
|
|
bornes_cournot = ['aegir','snotra']
|
|
|
|
# batiment d'Alembert
|
|
bornes_bibliotheque = ['sif']
|
|
bornes_alembert_hall = ['vidar']
|
|
bornes_alembert_cri = ['yggdrasil']
|
|
bornes_alembert_curie = ['freyr']
|
|
brones_alembert = bornes_bibliotheque + bornes_alembert_hall + bornes_alembert_cri + bornes_alembert_curie
|
|
|
|
# batiment pavillon des jardins
|
|
bornes_pdj = ['magni']
|
|
|
|
# batiments de l'ens
|
|
bornes_ens = bornes_vinci + bornes_cournot + brones_alembert + bornes_pdj
|
|
|
|
# Liste des utilisateurs
|
|
########################
|
|
|
|
users = {
|
|
'bilou:b6831110716ea7782b636469b31dc3a695b26386' : [True] + bornes_ens,
|
|
'vince||:7bc07c05eebf6726b48f557fcb60b434364034cd' : [True, 'valhalla','heimdall','vidar'] + bornes_ens,
|
|
'xabi:4f1da4cacfd69622c2123d83007a92f9e3de9722' : [True, 'heimdall']
|
|
}
|