From ecc1b59d4adbac42ae7f79a9015fed7a6e5390dc Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Wed, 26 Mar 2014 21:27:11 +0100 Subject: [PATCH] ip6HostNumber writable par proprio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit À défaut de trouver mieux. --- attributs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index bd2175a..9c1db76 100644 --- a/attributs.py +++ b/attributs.py @@ -836,7 +836,9 @@ class ip6HostNumber(Attr): legend = u"Adresse IPv6 de la machine" hname = "IPv6" category = 'base_tech' - can_modify = [nounou, cableur] + # beware: parent est nécessaire à la modification des adresses macs par + # les adhérents lambda (see validate_changes) + can_modify = [nounou, cableur, parent] ldap_name = "ip6HostNumber" python_type = netaddr.IPAddress default = u''