Project

General

Profile

Actions

Task #1405

closed

Modify Workflow sync Ldap groups

Added by Patrik Stloukal over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Patrik Stloukal
Category:
Workflow
Target version:
Start date:
12/07/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

In workflow change default validity of roles assigned based on membership in LDAP to null and assigne this membership to all valid contracts or valid in future.


Related issues

Related to IdStory Identity Manager - Task #1268: Improve the AD group synchronization workflowClosedVít Švanda09/24/2018

Actions
Actions #1

Updated by Vít Švanda over 5 years ago

May be it is good time for move that workflow from product to the Extras module.

Actions #2

Updated by Marcel Poul over 5 years ago

  • Related to Task #1268: Improve the AD group synchronization workflow added
Actions #3

Updated by Ondřej Kopr over 5 years ago

  • Target version set to Onyx (9.3.2)
Actions #4

Updated by Peter Štrunc over 5 years ago

I saw it working. Issues found were fixed. Please add possibility to create all roles in one defined catalogue.

Actions #5

Updated by Ondřej Kopr over 5 years ago

  • Target version changed from Onyx (9.3.2) to Opal (9.4.0)
Actions #6

Updated by Patrik Stloukal over 5 years ago

  • Status changed from New to In Progress
  • Assignee changed from Patrik Stloukal to Vít Švanda
  • % Done changed from 0 to 90

I added possibility to create all roles in one defined catalogue, modified documentation (https://wiki.czechidm.com/tutorial/dev/ad_groups_sync_workflow?s[]=workflow&s[]=groups#set_aplication_properties), and i tested this new feature on ours AD system.

commits: https://github.com/bcvsolutions/CzechIdMng/commit/5bd39341e6dee36daae146dce9c8626da9ed2945
https://github.com/bcvsolutions/CzechIdMng/commit/fc2397f8b74838a41921109655e421d233363a46

Vít please look on this new version, it should be ok

Actions #7

Updated by Vít Švanda over 5 years ago

  • Status changed from In Progress to Needs feedback
Actions #8

Updated by Vít Švanda over 5 years ago

  • Target version changed from Opal (9.4.0) to Opal (9.4.0-rc.2)
Actions #9

Updated by Vít Švanda over 5 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Vít Švanda to Patrik Stloukal

I did code review.

- For the next time, please avodi using the fix method order in tests (@FixMethodOrder + methods with prefix n1... is not nice).
- For the next please create the pull request.
- In code of WF are some places from whitch I am not happy:

  • Why are variables named as constants (CREATE_ALL_ROLES_TO_ONE_CATALOGUE....),
  • :-) logItem.addToLog("loooooool " + attr.getName()); ??
  • For joining a strings we using MessageFormat not "+".
Actions #10

Updated by Vít Švanda over 5 years ago

  • Target version changed from Opal (9.4.0-rc.2) to Opal (9.4.0)
Actions #11

Updated by Patrik Stloukal about 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Patrik Stloukal to Vít Švanda

ok, i made changes (above),
I tel these variables named as that, because I wanted to keep changes (in code) to minimum. Maybe it was not the best in this situation.

commit: https://github.com/bcvsolutions/CzechIdMng/commit/0fa53a2f64ba96081160140dcc0de3eec59fe98c

Please look on this again.

Actions #12

Updated by Vít Švanda about 5 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Vít Švanda to Patrik Stloukal
  • % Done changed from 90 to 100

It looks better. Merged in the develop.

Actions #13

Updated by Vít Švanda about 5 years ago

Within changes in this commit was made unwanted change of code that workflow process ('syncRoleAd' to 'syncRoleLdap').
For hide the previous version of this workflow you can change it's category:
  • Change category in the workflow xml definition with code 'syncRoleAd'.
  • Or you can also use update in DB ( UPDATE act_re_procdef set category_='eu.bcvsolutions' where key_='syncRoleAd';).
Actions

Also available in: Atom PDF