Create default contract in synchronization of users
In the current version, it's not possible to create default contracts in synchronization of users.
We have projects where we just don't have information about users contracts, but we need to add some roles to users.
There are ways, how to create default contracts (synchronization wf, synchronization of contract even if I don't have them) but it's not what we want to use.
Global property for default contracts for manually created users is fine and has its usecases.
Please add a new option into synchronization which can be set in every system synchronization.
This option will be able to create default contracts in synchronization of users.
Updated by Ondřej Kopr over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 0 to 90
I implement new specific option for identity synchronization. Create default contract during synchronization.
commit: https://github.com/bcvsolutions/CzechIdMng/commit/a99382c0310dad1e6f6a1bc762f5678d2ea7a03b (branch: okopr/1047-create-default-contract)
pull request: https://github.com/bcvsolutions/CzechIdMng/pull/35
Commit contains flyway script in ACC.
I also set default values for newly created identities synchronizations.
tests are included.
documentation (also update pictures in admin documentation):
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 90 to 100
I did review and test and everything works fine. Thanks for that.
I found two problems with logging. Log information about the default contract will be created was persisted to main log, not to item log. Log was added in create the entity situation but for update the entity situation too.
I fixed this: