Redondances avec le can_modify par défaut
This commit is contained in:
parent
0b93ad0e19
commit
9252614cd9
1 changed files with 0 additions and 14 deletions
14
attributs.py
14
attributs.py
|
@ -1082,7 +1082,6 @@ class rid(intAttr):
|
|||
unique = True
|
||||
legend = u"Identifiant réseau de machine"
|
||||
category = 'id'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "rid"
|
||||
|
||||
def parse_value(self, rid):
|
||||
|
@ -1133,7 +1132,6 @@ class puissance(Attr):
|
|||
optional = True
|
||||
legend = u"puissance d'émission pour les bornes wifi"
|
||||
category = 'wifi'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "puissance"
|
||||
default = '60'
|
||||
|
||||
|
@ -1144,7 +1142,6 @@ class canal(intAttr):
|
|||
optional = True
|
||||
legend = u'Canal d\'émission de la borne'
|
||||
category = 'wifi'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "canal"
|
||||
default = "11"
|
||||
|
||||
|
@ -1155,7 +1152,6 @@ class hotspot(boolAttr):
|
|||
optional = True
|
||||
legend = u'Hotspot'
|
||||
category = 'wifi'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "hotspot"
|
||||
default = "FALSE"
|
||||
|
||||
|
@ -1164,7 +1160,6 @@ class positionBorne(Attr):
|
|||
__slots__ = ()
|
||||
legend = u"Position de la borne"
|
||||
category = "wifi"
|
||||
can_modify = [nounou]
|
||||
singlevalue = True
|
||||
optional = True
|
||||
ldap_name = "positionBorne"
|
||||
|
@ -1175,7 +1170,6 @@ class nvram(Attr):
|
|||
__slots__ = ()
|
||||
legend = u"Configuration speciale"
|
||||
optional = True
|
||||
can_modify = [nounou]
|
||||
ldap_name = "nvram"
|
||||
|
||||
class portAttr(Attr):
|
||||
|
@ -1184,7 +1178,6 @@ class portAttr(Attr):
|
|||
optional = True
|
||||
legend = u'Ouverture de port'
|
||||
category = 'firewall'
|
||||
can_modify = [nounou]
|
||||
|
||||
def parse_value(self, port):
|
||||
if ":" in port:
|
||||
|
@ -1258,7 +1251,6 @@ class nombrePrises(intAttr):
|
|||
singlevalue = True
|
||||
optional = True
|
||||
categoriy = 'base_tech'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "nombrePrises"
|
||||
|
||||
@crans_attribute
|
||||
|
@ -1268,7 +1260,6 @@ class prise(Attr):
|
|||
optional = True
|
||||
legend = u"Prise sur laquelle est branchée la machine"
|
||||
category = 'base_tech'
|
||||
can_modify = [nounou]
|
||||
ldap_name = "prise"
|
||||
|
||||
@crans_attribute
|
||||
|
@ -1775,7 +1766,6 @@ class machineAlias(boolAttr):
|
|||
class issuerCN(Attr):
|
||||
__slots__ = ()
|
||||
ldap_name = "issuerCN"
|
||||
can_modify = [nounou]
|
||||
legend = "Common Name de l'éméteur du certificat"
|
||||
|
||||
@crans_attribute
|
||||
|
@ -1783,21 +1773,18 @@ class serialNumber(Attr):
|
|||
__slots__ = ()
|
||||
ldap_name = "serialNumber"
|
||||
python_type = int
|
||||
can_modify = [nounou]
|
||||
legend = "Numéro de série du certificat"
|
||||
|
||||
@crans_attribute
|
||||
class start(intAttr):
|
||||
__slots__ = ()
|
||||
ldap_name = "start"
|
||||
can_modify = [nounou]
|
||||
legend = "Date de début"
|
||||
|
||||
@crans_attribute
|
||||
class end(intAttr):
|
||||
__slots__ = ()
|
||||
ldap_name = "end"
|
||||
can_modify = [nounou]
|
||||
legend = "Date de fin"
|
||||
|
||||
@crans_attribute
|
||||
|
@ -1814,7 +1801,6 @@ class revocked(boolAttr):
|
|||
ldap_name = "revocked"
|
||||
singlevalue = True
|
||||
optional = True
|
||||
can_modify = [nounou]
|
||||
legend = "Détermine si le certificat est révoqué"
|
||||
|
||||
@crans_attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue