mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
[Bugfix] 修改普通用户获取资产详情的bug
This commit is contained in:
@@ -164,7 +164,8 @@ class AssetGrantedSerializer(serializers.ModelSerializer):
|
||||
class Meta(object):
|
||||
model = Asset
|
||||
fields = ("id", "hostname", "ip", "port", "system_users_granted",
|
||||
"is_inherited", "is_active", "system_users_join", "comment")
|
||||
"is_inherited", "is_active", "system_users_join",
|
||||
"platform", "comment",)
|
||||
|
||||
@staticmethod
|
||||
def get_is_inherited(obj):
|
||||
|
||||
Reference in New Issue
Block a user