mirror of https://github.com/jumpserver/jumpserver
fix: 账号 su from 过滤未生效
parent
b5d814e9be
commit
4200fa7ff8
|
@ -45,6 +45,7 @@ class AccountViewSet(OrgBulkModelViewSet):
|
|||
accounts = asset.accounts.all()
|
||||
else:
|
||||
accounts = []
|
||||
accounts = self.filter_queryset(accounts)
|
||||
serializer = serializers.AccountSerializer(accounts, many=True)
|
||||
return Response(data=serializer.data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue