HRSD Roles Question

Justin W
Tera Contributor

Hello!

 

I had a quick question about HRSD roles.  Am I correct in my assumption that:

 

HR Admin contains all of the roles of HR Manager which contains all the roles HR Basic?

 

Just wanting to make sure I understand that correctly.

 

Thank you!

 

 

1 ACCEPTED SOLUTION

Prinssi
Mega Sage

Hi Justin!

 

Yes, you are understanding the HRSD role inheritance correctly. 

 

Since HR Admin (sn_hr_core.admin) contains the HR Manager (sn_hr_core.manager) role, then HR Admin inherits all of the access entitled to HR Manager. 

  • This includes access that is granted by the role itself, but also the access that is granted by the roles it inherits, and that chain continues for any roles that are inherited by the inherited roles.  All the access rolls up.

 

Assuming you have the platform admin role (admin), then you can see these relationships by navigating to the Role table (sys_user_role) via Application Navigator (User Administration > Roles  | or |  sys_user_role.list). 

 

Here is the sn_hr_core.admin record:

Prinssi_0-1686263943412.png

View solution in original post

2 REPLIES 2

Marco0o1
Tera Sage

Hi @Justin W ,

 

You need to consider the relation between those tables:

- User table (sys_user)

- Role table (sys_user_role)

- Group table (sys_user_group)

 

You have and user, and that user can be member of a group or have a role to him.

You can assign a role to a group or user.

 

If you want to know which roles have a group just type sys_user_group.list in the application menu, filter your group and take a look the members of that group and the roles of that group.

You can go to a user table sys_user.list and look the groups and roles that user is member.

 

If you want to know more take a look in User administration 

Prinssi
Mega Sage

Hi Justin!

 

Yes, you are understanding the HRSD role inheritance correctly. 

 

Since HR Admin (sn_hr_core.admin) contains the HR Manager (sn_hr_core.manager) role, then HR Admin inherits all of the access entitled to HR Manager. 

  • This includes access that is granted by the role itself, but also the access that is granted by the roles it inherits, and that chain continues for any roles that are inherited by the inherited roles.  All the access rolls up.

 

Assuming you have the platform admin role (admin), then you can see these relationships by navigating to the Role table (sys_user_role) via Application Navigator (User Administration > Roles  | or |  sys_user_role.list). 

 

Here is the sn_hr_core.admin record:

Prinssi_0-1686263943412.png