mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-28 16:16:41 +00:00
fix: 修复导出系统用户资产列表时包含org_id字段
This commit is contained in:
@@ -251,7 +251,7 @@ class SystemUserAssetRelationSerializer(RelationMixin, serializers.ModelSerializ
|
||||
model = SystemUser.assets.through
|
||||
fields = [
|
||||
"id", "asset", "asset_display", 'systemuser', 'systemuser_display',
|
||||
"connectivity", 'date_verified',
|
||||
"connectivity", 'date_verified', 'org_id'
|
||||
]
|
||||
use_model_bulk_create = True
|
||||
model_bulk_create_kwargs = {
|
||||
|
Reference in New Issue
Block a user