From 38ddeedfbfa45b1d973ba7ac692c69333ece7250 Mon Sep 17 00:00:00 2001 From: bos Date: Thu, 12 Apr 2007 10:37:31 +0200 Subject: [PATCH] Utilisation de droit_light darcs-hash:20070412083731-c992d-e9662a0ae6b7d4e186e97fa0c5cbb1a2693b2411.gz --- gestion/gest_crans.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index ea04670a..ac1eceab 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -537,15 +537,15 @@ def set_droits(adher): if annul: return 1 - + # Traitement # Dans le cas ou l'utilisateur qui modiifie n'est pas nounou if not isadm: for key in droits_critiques: if key in adher.droits(): result.append(key.encode("ISO-8859-15")) - - # Traitement - adher.droits(result) + adher.droits_light(result) + else: + adher.droits(result) def del_adher(adher): """