Role to Role Assignments

Hi all,
Please do we have role to role assignment in Jmix? I want to be able to add all the roles to a particular role and then add that particular role to a user.
Is there a functionality like that in Jmix?

Thanks

Roles can have child roles
image

Hi Oman,
Thanks for your quick response.

But why am I not have the add/remove buttons on my child roles tab? See below:

Thanks

image

Customers Role is defined as java interface in code, you cannot change it at run time. In case of design-time role (CustomersRole), to get permissions from other roles you need to extend your interface from the others, e.g.:

@ResourceRole(name = "CombinedManagerRole", code = "combined-manager-role-")
public interface CombinedManagerRole extends ProjectManagementRole, DynamicAttributesRole, UiMinimalRole {
}

Gleb

1 Like