mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-30 21:50:01 +00:00
fix: 账号 su from 过滤未生效
This commit is contained in:
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
Block a user