Les attributs uid/uidNumber/gidNumber sont rightprotected

This commit is contained in:
Pierre-Elliott Bécue 2015-11-23 19:28:46 +01:00
parent ab13249ef5
commit 0b93ad0e19

View file

@ -525,7 +525,7 @@ class aid(intAttr):
self.value = int(aid) self.value = int(aid)
@crans_attribute @crans_attribute
class uid(Attr): class uid(rightProtectedAttr):
__slots__ = () __slots__ = ()
singlevalue = True singlevalue = True
option = False option = False
@ -1491,7 +1491,7 @@ class homeDirectory(rightProtectedAttr):
ldap_name = "homeDirectory" ldap_name = "homeDirectory"
@crans_attribute @crans_attribute
class loginShell(Attr): class loginShell(rightProtectedAttr):
__slots__ = () __slots__ = ()
singlevalue = True singlevalue = True
optional = True optional = True
@ -1508,7 +1508,7 @@ class loginShell(Attr):
self.value = shell self.value = shell
@crans_attribute @crans_attribute
class uidNumber(intAttr): class uidNumber(intAttr, rightProtectedAttr):
__slots__ = () __slots__ = ()
singlevalue = True singlevalue = True
optional = True optional = True
@ -1519,7 +1519,7 @@ class uidNumber(intAttr):
can_modify = [cableur, nounou] can_modify = [cableur, nounou]
@crans_attribute @crans_attribute
class gidNumber(intAttr): class gidNumber(intAttr, rightProtectedAttr):
__slots__ = () __slots__ = ()
singlevalue = True singlevalue = True
optional = True optional = True