idm.sec.extras.processor.contract-position-set-eav-processor.enabled=true idm.sec.extras.processor.identity-contract-set-eavs-processor.enabled=true idm.sec.extras.processor.tree-node-update-eav-trees-processor.enabled=true
As we need to set some automatic roles by its place in the structure we will create two new form properties. In these properties will be held names of nodes where the contract is positioned or for the second property what are his parents. Follow this tutorial to set this feature up.
These few steps are needed before we start using this feature
Now we need to move to Settings → Configuration and there are these properties. Provide name by your choice. In the example below you can see these properties:
module.extras.processor.set-node-to-eav - to this property we write all nodes where contract is positioned
module.extras.processor.set-structure-to-eav - to this property, we write all nodes and their parents where the contract is positioned
Now we need to set an automatic role. Move to Roles → Automatic roles → Based on the attribute. Now follow the pictures.