core: remove avatar from group user member list
Signed-off-by: Jens Langhammer <jens@goauthentik.io> #4711
This commit is contained in:
parent
b203de7a26
commit
b415e9b773
|
@ -24,7 +24,6 @@ from authentik.core.models import Group, User
|
||||||
class GroupMemberSerializer(ModelSerializer):
|
class GroupMemberSerializer(ModelSerializer):
|
||||||
"""Stripped down user serializer to show relevant users for groups"""
|
"""Stripped down user serializer to show relevant users for groups"""
|
||||||
|
|
||||||
avatar = CharField(read_only=True)
|
|
||||||
attributes = JSONField(validators=[is_dict], required=False)
|
attributes = JSONField(validators=[is_dict], required=False)
|
||||||
uid = CharField(read_only=True)
|
uid = CharField(read_only=True)
|
||||||
|
|
||||||
|
@ -37,7 +36,6 @@ class GroupMemberSerializer(ModelSerializer):
|
||||||
"is_active",
|
"is_active",
|
||||||
"last_login",
|
"last_login",
|
||||||
"email",
|
"email",
|
||||||
"avatar",
|
|
||||||
"attributes",
|
"attributes",
|
||||||
"uid",
|
"uid",
|
||||||
]
|
]
|
||||||
|
|
|
@ -28169,9 +28169,6 @@ components:
|
||||||
format: email
|
format: email
|
||||||
title: Email address
|
title: Email address
|
||||||
maxLength: 254
|
maxLength: 254
|
||||||
avatar:
|
|
||||||
type: string
|
|
||||||
readOnly: true
|
|
||||||
attributes:
|
attributes:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: {}
|
additionalProperties: {}
|
||||||
|
@ -28179,7 +28176,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
- avatar
|
|
||||||
- name
|
- name
|
||||||
- pk
|
- pk
|
||||||
- uid
|
- uid
|
||||||
|
|
Reference in New Issue