Feature #1265
openSupport automatic roles by organization and by attributes
0%
Description
Use-case:
We want to assign the role automatically by organization and at the same time by an attribute/EAV of identity/contract.
Example of roles: "Salesman in Prague", "Bookkeeper in Brno", "Manager in Olomouc".
The structure of positions (salesman, bookkeeper, manager) is standard organization structure (TreeNodes) and people are assigned there by their contracts.
The location is an attribute of identity.
Related issues
Updated by Alena Peterová over 5 years ago
- Related to Defect #1263: Automatic role by attribute "workPosition" doesn't work added
Updated by Alena Peterová over 5 years ago
After more discussion with the team:
We will probably need to extend automatic role by organization. Because names and codes (shortcuts) of organizations can be modified in HR systems, but the object stays the same. So we would like to assign the role first to the organization (TreeNode) and only specify additional constraints (assign iff the user's location=Brno).