Project

General

Profile

Actions

Task #2390

closed

Improve ImportAutomaticRoleAttributesFromCSVExecutor for importing automatic roles by user attributes, eav and by contract attributes, eav

Added by Roman Kučera over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Target version:
Start date:
07/15/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Now you can only import automatic roles definition by one or two contract EAV and that is not enough.

Implement new options into task:
  • create definition by identity attribute
  • create definition by identity eav attribute
  • create definition by contract attribute
  • create definition by contract eav attribute

number of attributes and eav attributes must be dynamic.
Dynamic number of EAV attributes is used in https://github.com/bcvsolutions/czechidm-extras/blob/40b8ea05074601d981b491c9a43cd7e78a51bbb0/Realization/backend/idm-extras/src/main/java/eu/bcvsolutions/idm/extras/scheduler/task/impl/ImportCodeListFromCSV.java

Also you should be able to create definition with multiple rules. E.g definition by identity attribute and for example contract EAV
This task must support different types of attributes not only String.
For example define these rules:
  • isPrimary = false
  • contract state = empty (not out of evidence)
  • some contract eav = some string value
  • some identity eav = some string value
Actions

Also available in: Atom PDF