Create automatic roles by tree structure, based on user's roles

Purpose of this LRT is to create automatic roles by tree structure base on user's roles. All automatic roles definition are created with no recursion.

It will search for all organization nodes (or for selected one and all under it - look at config below) where some user has a contract. Based on the user's assigned roles, the task creates automatic roles for the corresponding tree node.

Automatic roles are created only in case:

If only one user is found on that tree node it will take all of his roles. (Or only roles for selected system - look at config below)

If multiple users are on the same tree node, you have two options. Do nothing or LRT will compute common roles and create auto roles for them.

Configuration: