mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
fix: 修改命令过滤器添加系统用户协议限制
This commit is contained in:
committed by
Jiangjie.Bai
parent
6461a66bc1
commit
09ac5be631
@@ -31,7 +31,7 @@ export default {
|
||||
icon: 'fa-info',
|
||||
title: this.$t('perms.addSystemUserToThisPermission'),
|
||||
objectsAjax: {
|
||||
url: '/api/v1/assets/system-users/',
|
||||
url: `/api/v1/assets/system-users/?protocol__in=ssh,telnet,mysql,postgresql,mariadb,oracle,sqlserver,k8s`,
|
||||
transformOption: (item) => {
|
||||
const username = item.username || '*'
|
||||
return { label: item.name + '(' + username + ')', value: item.id }
|
||||
|
||||
Reference in New Issue
Block a user