feat: rdp support

pull/1043/head
liuzheng712 2018-02-05 21:54:57 +08:00
parent bdf506a555
commit 6edd3f6cf8
No known key found for this signature in database
GPG Key ID: 76B55D91E7BB2978
1 changed files with 2 additions and 0 deletions

View File

@ -212,8 +212,10 @@ class AdminUser(AssetUser):
class SystemUser(AssetUser):
SSH_PROTOCOL = 'ssh'
RDP_PROTOCOL = 'rdp'
PROTOCOL_CHOICES = (
(SSH_PROTOCOL, 'ssh'),
(RDP_PROTOCOL, 'rdp'),
)
cluster = models.ManyToManyField('assets.Cluster', blank=True, verbose_name=_("Cluster"))