Field Level Permissions - SeedCompany/cord-docs GitHub Wiki

Active Property Nodes

The relationship between a base node and its property nodes holds the active status of that property node.

(:BaseNode)-[:prop1 {active: true}]->(:Property {value: "some value"})

When active = true, the property node's value property is the current property of the base node.

(:BaseNode)-[:prop1 {active: false}]->(:Property {value: "old value"})

When active = false, the value is a historical value.

 The labels of the property node are also prefixed with Deleted_ when a property is updated/deleted. We currently don't record the id of the user who performed the action.