Merge pull request #9672 from jumpserver/pr@dev@fix_su_from

fix: 账号 su from 过滤未生效
pull/9673/head
Eric_Lee 2 years ago committed by GitHub
commit 5add329a30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save