Project

General

Profile

Actions

Defect #2305

closed

Automatic role by tree structure: contract and position cannot assign the same automatic role

Added by Radek Tomiška almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Automatic roles
Target version:
Start date:
06/08/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

When the same automatic role is configured for contract and for the other contract position too, then assign this automatic role fails.

Issue can be reproduced, when contract work position and other contract work position are the same => automatic roles canot be assigned.

Improve unique index for automatic role and contract to support UC above.

@affected version >= 9.7.13


Related issues

Related to IdStory Identity Manager - Task #1043: Support skip recalculation for automatic roles by tree structure.ClosedRadek Tomiška03/27/2018

Actions
Related to IdStory Identity Manager - Defect #1961: Occasional duplicated automatic role assignment ClosedRadek Tomiška11/27/2019

Actions
Related to IdStory Identity Manager - Task #1968: Prevent to try assign duplicated automatic rolesNewRadek Tomiška11/29/2019

Actions
Actions #1

Updated by Radek Tomiška almost 4 years ago

  • Related to Task #1043: Support skip recalculation for automatic roles by tree structure. added
Actions #2

Updated by Radek Tomiška almost 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Radek Tomiška almost 4 years ago

  • Description updated (diff)
Actions #4

Updated by Radek Tomiška almost 4 years ago

  • Related to Defect #1961: Occasional duplicated automatic role assignment added
Actions #5

Updated by Radek Tomiška almost 4 years ago

  • Related to Task #1968: Prevent to try assign duplicated automatic roles added
Actions #6

Updated by Radek Tomiška almost 4 years ago

  • Description updated (diff)
Actions #7

Updated by Radek Tomiška almost 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Priority changed from Low to Normal
  • % Done changed from 0 to 90

I improved unique index created in #1961 - contract position is included now.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/9669bf6db0bda349d9eaa7146a9a368f897cc56e#diff-e1c6a11be4acff191073b9a82d490fe8

Could you provide me a feedback, please?

Note: SQL scripts (in commit) can be used and index can be updated for LTS version, if needed.

Actions #8

Updated by Vít Švanda almost 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review and tested it. Work correctly. Thanks for this.

Actions #9

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF