Task #1008
closed
Support manually created root organization in the synchronization of tree nodes
Added by Alena Peterová almost 7 years ago.
Updated over 6 years ago.
Description
We want to synchronize all organizations from the HR under one root organization, which was manually created.
Currently (7.8.2) this is not possible; the root organization must have an account on the system from which we synchronize the organizations.
Use-case:
We want to have all HR organizations under one root (e.g. "HR organizations"), because e.g.
- we don't have an organization structure, there are 2000 organizations in HR and we want to add some automatic role to all organizations. Also it's slow to display all organizations when we click on the Organizations tab and there are 2000 roots.
- we will manually manage organizations for externists, so we want to distinguish automatically created HR organizations and manually created externists' organizations.
- Priority changed from Normal to High
Once again we came across this situation on another project. 5 hospitals - each is one root manually created in CzechIdM.
Please provide a workaround at least, thanks.
- Target version set to Jade (8.1.0)
- Status changed from New to In Progress
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Ondřej Kopr
- Assignee changed from Ondřej Kopr to Patrik Stloukal
- % Done changed from 0 to 90
I tested this feature on project and I have two ideas for improvement.
1) In script for roots definition, I cannot call standard scripts, so code cannot be easily saved in Git.
2) Also it looks like that a necessary condition is to have information about parents in source system. Because I want to use manually created root, its possible, that I don't have information about them in source and I want to specify parents by a custom algorithm. But in script for roots I cannot set any script authorities. Because roots are counted before mapping, there are no more options.
- Assignee changed from Patrik Stloukal to Vít Švanda
- % Done changed from 90 to 100
i tested this issue locally and i think this fix is working fine.
i had manually created tree (root and three children) and with this script organization was created where it was ment to... (i used substring on one of attribute from database)
- Status changed from Needs feedback to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF