|
|
|
@ -14,8 +14,10 @@ class Account(BaseUser, AbsConnectivity, ProtocolMixin):
|
|
|
|
|
common = 'common', _('Common user')
|
|
|
|
|
admin = 'admin', _('Admin user')
|
|
|
|
|
|
|
|
|
|
protocol = models.CharField(max_length=16, choices=ProtocolMixin.Protocol.choices,
|
|
|
|
|
default='ssh', verbose_name=_('Protocol'))
|
|
|
|
|
protocol = models.CharField(
|
|
|
|
|
max_length=16, choices=ProtocolMixin.Protocol.choices,
|
|
|
|
|
default='ssh', verbose_name=_('Protocol')
|
|
|
|
|
)
|
|
|
|
|
type = models.CharField(max_length=16, choices=Type.choices, default=Type.common, verbose_name=_("Type"))
|
|
|
|
|
asset = models.ForeignKey('assets.Asset', on_delete=models.CASCADE, verbose_name=_('Asset'))
|
|
|
|
|
version = models.IntegerField(default=0, verbose_name=_('Version'))
|
|
|
|
|