diff --git a/authentik/core/api/groups.py b/authentik/core/api/groups.py index 0e1d88346..7a79606ec 100644 --- a/authentik/core/api/groups.py +++ b/authentik/core/api/groups.py @@ -15,7 +15,6 @@ from authentik.core.models import Group, User class GroupMemberSerializer(ModelSerializer): """Stripped down user serializer to show relevant users for groups""" - is_superuser = BooleanField(read_only=True) avatar = CharField(read_only=True) attributes = JSONField(validators=[is_dict], required=False) uid = CharField(read_only=True) @@ -29,7 +28,6 @@ class GroupMemberSerializer(ModelSerializer): "name", "is_active", "last_login", - "is_superuser", "email", "avatar", "attributes", diff --git a/schema.yml b/schema.yml index b44c84e95..553743e34 100644 --- a/schema.yml +++ b/schema.yml @@ -20470,9 +20470,6 @@ components: type: string format: date-time nullable: true - is_superuser: - type: boolean - readOnly: true email: type: string format: email @@ -20489,7 +20486,6 @@ components: readOnly: true required: - avatar - - is_superuser - name - pk - uid