Project

General

Profile

Actions

Feature #1047

closed

Create default contract in synchronization of users

Added by Petr Michal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Synchronization
Target version:
Start date:
03/29/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

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.

Actions #1

Updated by Vít Švanda over 6 years ago

  • Priority changed from High to Normal
Actions #3

Updated by Vít Švanda over 6 years ago

  • Target version changed from Jade (8.1.0) to Lapis (8.2.0)
Actions #4

Updated by Vít Švanda over 6 years ago

  • Assignee changed from Vít Švanda to Ondřej Kopr
  • Priority changed from Normal to Immediate
Actions #5

Updated by Vít Švanda over 6 years ago

  • Priority changed from Immediate to Normal
Actions #6

Updated by Ondřej Kopr over 6 years ago

I will do it :) , I also will fix default values in specific configuration

Actions #8

Updated by Vít Švanda over 6 years ago

  • Status changed from New to In Progress
Actions #9

Updated by Ondřej Kopr over 6 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):
https://wiki.czechidm.com/tutorial/adm/synchronization#specific_synchronization_options
https://wiki.czechidm.com/devel/documentation/synchronization/dev/synchronization#specific_synchronization_options

Actions #10

Updated by Vít Švanda over 6 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:

https://github.com/bcvsolutions/CzechIdMng/commit/55fadbfc9882bd7efab011a4bd21455f608d6d54

Actions #11

Updated by Radek Tomiška over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF