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):
|
||||
"""Stripped down user serializer to show relevant users for groups"""
|
||||
|
||||
avatar = CharField(read_only=True)
|
||||
attributes = JSONField(validators=[is_dict], required=False)
|
||||
uid = CharField(read_only=True)
|
||||
|
||||
|
@ -37,7 +36,6 @@ class GroupMemberSerializer(ModelSerializer):
|
|||
"is_active",
|
||||
"last_login",
|
||||
"email",
|
||||
"avatar",
|
||||
"attributes",
|
||||
"uid",
|
||||
]
|
||||
|
|
|
@ -28169,9 +28169,6 @@ components:
|
|||
format: email
|
||||
title: Email address
|
||||
maxLength: 254
|
||||
avatar:
|
||||
type: string
|
||||
readOnly: true
|
||||
attributes:
|
||||
type: object
|
||||
additionalProperties: {}
|
||||
|
@ -28179,7 +28176,6 @@ components:
|
|||
type: string
|
||||
readOnly: true
|
||||
required:
|
||||
- avatar
|
||||
- name
|
||||
- pk
|
||||
- uid
|
||||
|
|
Reference in New Issue