Les attributs uid/uidNumber/gidNumber sont rightprotected
This commit is contained in:
parent
ab13249ef5
commit
0b93ad0e19
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue