mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
perf: 用户组列表中的用户添加 is_service_account 属性
This commit is contained in:
@@ -16,7 +16,8 @@ __all__ = [
|
||||
|
||||
class UserGroupSerializer(ResourceLabelsMixin, BulkOrgResourceModelSerializer):
|
||||
users = ObjectRelatedField(
|
||||
required=False, many=True, queryset=User.objects, label=_('User'),
|
||||
required=False, many=True, queryset=User.objects,
|
||||
attrs=("id", "name", "is_service_account"), label=_('User'),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user