From 6edd3f6cf8e56df2c75a68786f46bc4e49f399a8 Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Mon, 5 Feb 2018 21:54:57 +0800 Subject: [PATCH] feat: rdp support --- apps/assets/models/user.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/assets/models/user.py b/apps/assets/models/user.py index aa44a539c..e536f7902 100644 --- a/apps/assets/models/user.py +++ b/apps/assets/models/user.py @@ -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"))