On a PUT to /entities/<id> (update_entity) we need to check that the ancestor (also direct_ancestor) does not contain the UUID of the entity that is being updated. We currently have several validators under before_property_update_validators so it is probably best to add an additional one here. See https://entity.api.sennetconsortium.org/entities/86e851a37c6d7f550823fe527d38512b on production for an example of this somehow being done.
Related to card https://github.com/orgs/sennetconsortium/projects/9/views/1?pane=issue&itemId=66805234
On a PUT to
/entities/<id>
(update_entity
) we need to check that the ancestor (also direct_ancestor) does not contain the UUID of the entity that is being updated. We currently have several validators underbefore_property_update_validators
so it is probably best to add an additional one here. See https://entity.api.sennetconsortium.org/entities/86e851a37c6d7f550823fe527d38512b on production for an example of this somehow being done.