diff --git a/invenio_communities/members/records/api.py b/invenio_communities/members/records/api.py index 5bf3ac28b..f03351f1b 100644 --- a/invenio_communities/members/records/api.py +++ b/invenio_communities/members/records/api.py @@ -69,12 +69,19 @@ class MemberMixin: attrs=[ "email", "username", - "profile", - "preferences", "active", "confirmed", "verified_at", ], + # Explicitly list common keys from fields that can be customizable + keys=[ + "profile.affiliations", + "profile.full_name", + "preferences.locale", + "preferences.timezone", + "preferences.visibility", + "preferences.email_visibility", + ], ), group=ModelRelation( GroupAggregate,