New functionality is available to merge rights profiles into one.
This is available by using component M10487, and installed with Framework 3.8 with build number 12599 or higher. When you are on the Framework 3.9 CTP versions, you need build number 12635 or higher. It is an enhancement to the existing Rights profiles in Novulo
The Novulo framework supports one rights profile per user. This component allows you to create a role-based like approach, by merging various rights profiles into one.
This set-up works fine when there isn’t much overlap between rights profiles. However, in larger applications, we often see that there’s overlap between rights profiles.
For example, you might have a Sales employee and a Logistics employee, but also someone who performs both roles in the Sales and the Logistics domain.
As it’s not possible to link more than one profile to one user, you need to create three profiles:
- Sales
- Logistics
- Sales + Logistics
In practice, the Sales + Logistics profile will have all the rights that either Sales, either Logistics has (or both).
The Rights Profile Merge functionality allows you to define that one Rights profile is composed out of 2 or more other rights profiles, using a Rights profile merge definition.
The actual merging of two or more rights profiles into one, must be done manually by selecting the “Merge” button. This must be done after changing any of the sub profiles.
Merge rights profiles in your application
First, you need to create your rights profiles in the regular Rights profile set-up. For the profile to be merged, you only need to create it.
Then, navigate to the Rights profile merge definitions, in the same “Users” menu where you also find the Rights profiles.
Here, select the target profile and the sub profiles that are the source.
When you click merge, the target profile is based on the values of each profile.
The checkbox ‘make complete’ makes that all nodes without rights (the red nodes) are given explicit ‘no rights’. See Rights profiles in Novulo - new rights for more information on the red nodes for new rights.