Unstructured sources: ACLs on content from multiple documents
Extraction can find the same entity in more than one document, for example a customer named in a contract and again in a support ticket. Both documents write to one node, and a node carries one ACL.
When two documents with different ACLs describe the same entity, the node keeps the ACL of the document that produced it first. AWS Context refuses the later document’s write to that node, so what it says about the shared entity is not added. The rest of the later document is ingested normally.
Neither way of combining the two ACLs would be safe. The union would show the entity, including what was extracted from the more restricted document, to readers of the less restricted one. The intersection would hide the entity from readers who may read one of the documents. Keeping the first ACL errs toward hiding.
If the source deletes the document whose ACL an entity carries, the entity is deleted with it.
AWS Context does not report a refused write on the Agent Context. The shared node is unchanged, and the later document’s other entities are present, so the effect is that one document’s facts about the shared entity are missing from the graph.