# Introduction to on-chain roles

Roles give the appropriate level of access to different contributors and entities. Roles are administrative rights granted to Safes, externally owned accounts (EOA), or other smart contracts inside the Palmera Module.

To understand roles better, we need to establish 2 types of basic relationships present within the hierarchical structure: Super Safes (parent) and subsafes (child). Let's look at the following diagram to better illustrate these ideas.

## Root Safe

<figure><img src="https://1771018311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB1kQa8EVFP5gmzGBiUJ2%2Fuploads%2FpYFMQCyoEnOYG5GPYKLA%2FRoot%20squad.png?alt=media&#x26;token=5b313064-cd03-48d7-ac62-279cf8b5f723" alt=""><figcaption></figcaption></figure>

### Root Safe

This is the Safe positioned at the top of the hierarchy structure. It can be viewed as the control tower in charge of supervising and controlling the rest of the structure.

It has admin rights over any safe located in all levels below it, additionally it can add or remove EOAs, or smart contracts from its hierarchy structure.



<figure><img src="https://1771018311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB1kQa8EVFP5gmzGBiUJ2%2Fuploads%2Fj2BP8vBdfQH1yyAi5kKP%2FSuper%20Safe.png?alt=media&#x26;token=923bf19c-47a4-4214-becf-d75698fcabc9" alt=""><figcaption></figcaption></figure>

## Super Safes and subSafes

### Super Safes (parent)

A super Safes (parent Safes) refers to any Safe that has a subsafes (child safes). It can also be defined as any Safe that has rights over another Safe located one level down in the hierarchy structure. This role is useful to limit the amount of control and the kind of operations subsafes can perform.

### SubSafes (child)

A subsafe is any Safe that has a Super Safe (parent Safe), in other words, a subsafe refers to any Safe which has another Safe located one level up in the hierarchy structure.  This role is ideal for granting Safe certain rights while limiting the amount of control they have over the rest of the hierarchical structure.

