I am facing a difficulty in creating a role hierarchy as it is required for my use case in Cumulocity. Basically, I want to show only child roles to a user having a parent role for example if I want admin to show only the distributor role which he/she can assign to any user and If the distributor is logged-in the he/she can see other roles below to them in the hierarchy.
Admin Role
------ Distributor Role
------------ Account user
------------ Tenant User
------------------- Device manager
------------------- Global reader
In the above expression, I want admin to show distributor only. Distributor will see only account and tenant user. Tenant user will get Device manager and global reader.
Can anyone suggest me how can I achieve this in Cumulocity.