From 333ee38724484695cbeea44dd9398851f6d46351 Mon Sep 17 00:00:00 2001 From: Charlie Jacomme Date: Mon, 2 Nov 2015 23:22:16 +0100 Subject: [PATCH] Cableur can modify uid, uidNumber, gidNumber, gecos --- attributs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index 912fccd..1281d48 100644 --- a/attributs.py +++ b/attributs.py @@ -532,7 +532,7 @@ class uid(Attr): legend = u"L'identifiant canonique de l'adhérent" category = 'perso' unique = True - can_modify = [nounou] + can_modify = [cableur, nounou] ldap_name = "uid" @crans_attribute @@ -1514,6 +1514,7 @@ class uidNumber(intAttr): legend = "L'uid du compte de l'adherent" category = 'id' ldap_name = "uidNumber" + can_modify = [cableur, nounou] @crans_attribute class gidNumber(intAttr): @@ -1523,6 +1524,7 @@ class gidNumber(intAttr): legend = "Le gid du compte de l'adhérent" category = 'id' ldap_name = "gidNumber" + can_modify = [cableur, nounou] @crans_attribute class gecos(Attr): @@ -1532,6 +1534,7 @@ class gecos(Attr): legend = "Le gecos" category = 'id' ldap_name = "gecos" + can_modify = [cableur, nounou] @crans_attribute class userPassword(rightProtectedAttr):