From b415e9b773d9bc8037699350ca40ec9763598079 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 20 Feb 2023 12:40:42 +0100 Subject: [PATCH] core: remove avatar from group user member list Signed-off-by: Jens Langhammer #4711 --- authentik/core/api/groups.py | 2 -- schema.yml | 4 ---- 2 files changed, 6 deletions(-) diff --git a/authentik/core/api/groups.py b/authentik/core/api/groups.py index 8f3819761..bb7089107 100644 --- a/authentik/core/api/groups.py +++ b/authentik/core/api/groups.py @@ -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", ] diff --git a/schema.yml b/schema.yml index 1a5b001d2..7e8c11da0 100644 --- a/schema.yml +++ b/schema.yml @@ -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