client: show real target roles
Actual new target roles were not correctly shown in the editor. (Although the list of new recipients was correct).
This commit is contained in:
parent
934c410e39
commit
3b5c765dd3
2 changed files with 6 additions and 1 deletions
5
TODO
5
TODO
|
@ -1,15 +1,20 @@
|
||||||
* Replication auto
|
* Replication auto
|
||||||
|
* CLI
|
||||||
|
* prepare python3 \o/
|
||||||
* ./configure
|
* ./configure
|
||||||
* Tester python
|
* Tester python
|
||||||
* Tester xclip
|
* Tester xclip
|
||||||
* Proposer des profils tous faits dans un sous-dosier
|
* Proposer des profils tous faits dans un sous-dosier
|
||||||
* refaire Makefile
|
* refaire Makefile
|
||||||
|
* Système de templates/exemples de conf
|
||||||
* make update (après git pull)
|
* make update (après git pull)
|
||||||
* remplissage via ldap
|
* remplissage via ldap
|
||||||
* installation de dev
|
* installation de dev
|
||||||
* retirer le binaire serveur de /usr/local/bin/
|
* retirer le binaire serveur de /usr/local/bin/
|
||||||
* Modulariser le code (client.py devient gros)
|
* Modulariser le code (client.py devient gros)
|
||||||
* renommer en "cpasswords" ? (aka common passwords :p)
|
* renommer en "cpasswords" ? (aka common passwords :p)
|
||||||
|
* internationalisation
|
||||||
|
* annotation des dates de dernières màj et cie
|
||||||
diff --git a/client.py b/client.py
|
diff --git a/client.py b/client.py
|
||||||
index 6ba2a6e..6486e11 100755
|
index 6ba2a6e..6486e11 100755
|
||||||
--- a/client.py
|
--- a/client.py
|
||||||
|
|
|
@ -736,7 +736,7 @@ Enregistrez le fichier vide pour annuler.\n"""
|
||||||
|
|
||||||
annotations += u"""Ce fichier sera chiffré pour les rôles suivants :\n%s\n
|
annotations += u"""Ce fichier sera chiffré pour les rôles suivants :\n%s\n
|
||||||
C'est-à-dire pour les utilisateurs suivants :\n%s""" % (
|
C'est-à-dire pour les utilisateurs suivants :\n%s""" % (
|
||||||
', '.join(passfile['roles']),
|
', '.join(new_roles),
|
||||||
'\n'.join(' %s' % rec for rec in get_dest_of_roles(options, new_roles))
|
'\n'.join(' %s' % rec for rec in get_dest_of_roles(options, new_roles))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue