core: remove avatar from group user member list

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

#4711
This commit is contained in:
Jens Langhammer 2023-02-20 12:40:42 +01:00
parent b203de7a26
commit b415e9b773
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View file

@ -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",
]

View file

@ -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