> For the complete documentation index, see [llms.txt](https://docs.yansalabs.com/simple-data-separation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yansalabs.com/simple-data-separation/technical-docs/separation-rules/parent-inheritance-beta.md).

# Parent Inheritance (BETA)

{% hint style="info" %}
**Parent Inheritance** lets you apply data separation of a parent table to related tables, making it easy to implement data segregation across a complex table hierarchy. For example, *"I want to restrict Incident Tasks so that users only see tasks related to their assigned Incidents."*
{% endhint %}

**Details:**

* Inheritance will follow through parents/grandparents/etc, as long as each table in the hierarchy has 'Follow parent' enabled on its own Separation Rule. This enables inclusive inheritance across multi-level relationships.
* Inherited fields on children will automatically be updated when the parent is changed - no need to make redundant changes.
* Only the selected components will be inherited (separator fields, owners overrides, visibility groups). Selecting 'Follow parent' alone will add a Separation Rule to a record inheritance hierarchy, but will not add any new parameters to data segregation for the table.
* You can add additional data separation criteria to a Separation Rule normally. Parent Inheritance is additive.

<figure><img src="/files/HcWfwVaQj0xzX0AhzxXB" alt=""><figcaption><p>Parent Inheritance Configuration (on Separation Rule)</p></figcaption></figure>

* **Follow parent**: Enable this Separation Rule to inherit from a parent Separation Rule
* **Parent field**: Field on the target table that references the 'parent' record
* **Auto-detect parent rule**: Automatically detect the parent separation rule based on the parent field selected (recommended)
* **Parent separation rule**: Separation rule for the 'parent' table
  * While auto-detection is recommended, you can manually set a parent separation rule. Messages will be displayed on the form when potential misconfigurations are detected.
* **Inherit separator fields:** Inherit separator fields from the parent separation rule
  * Defined relationships will also be inherited from the parent.
  * Selective application of the separator field will be inherited only if there is an aggregate single separation field on the rule after inheritance.
* **Parent separator fields:** Fields inherited for data separation (includes dot-walk to parent/grandparent/etc)
* **Inherit owner overrides:** Inherit owner overrides from the parent separation rule
* **Parent owner overrides:** Fields inherited for owner override (includes dot-walk to parent/grandparent/etc)
* **Inherit visibility groups:** Inherit visibility groups from the parent separation rule
* **Parent visibility groups:** Values inherited for visibility groups

{% hint style="info" %}
Multi-level inheritance can reduce query efficiency. You can set the maximum level of inheritance in [General Settings](/simple-data-separation/technical-docs/general-settings.md).
{% endhint %}
