mirror of https://github.com/jumpserver/jumpserver
fix: 修复资产账号测试可连接性权限问题
parent
0c95faac04
commit
e08db7423f
|
@ -61,6 +61,9 @@ class AccountViewSet(OrgBulkModelViewSet):
|
||||||
'default': serializers.AccountSerializer,
|
'default': serializers.AccountSerializer,
|
||||||
'verify_account': serializers.AssetTaskSerializer
|
'verify_account': serializers.AssetTaskSerializer
|
||||||
}
|
}
|
||||||
|
rbac_perms = {
|
||||||
|
'verify_account': 'assets.add_authbook'
|
||||||
|
}
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
queryset = AuthBook.get_queryset()
|
queryset = AuthBook.get_queryset()
|
||||||
|
|
Loading…
Reference in New Issue