fix: 修改ACL提示支持的协议为: ssh、telnet

v2.8
Bai 2021-04-23 16:33:00 +08:00 committed by Jiangjie.Bai
parent 00ae4d2577
commit e5e75e75af
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class LoginAssetACLSystemUsersSerializer(serializers.Serializer):
protocol_group = serializers.ListField(
default=['*'], child=serializers.CharField(max_length=16), label=_('Protocol'),
help_text=const.common_help_text + _('Protocol options: {}').format(
', '.join(SystemUser.ASSET_CATEGORY_PROTOCOLS)
', '.join([SystemUser.PROTOCOL_SSH, SystemUser.PROTOCOL_TELNET])
)
)