Project

General

Profile

Actions

Task #996

closed

Automatic roles by attributes are repeatedly removed/added

Added by Alena Peterová almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Ondřej Kopr
Category:
Roles
Target version:
Start date:
02/26/2018
Due date:
% Done:

0%

Estimated time:
Owner:

Description

Affected version: 7.8.2

This happens if there are at least 2 automatic roles for Contract_EAV and an identity has at least 2 contracts with different EAV settings.

Steps to reproduce:
  • Create a form definition for EAV: "kodoblast"
  • Create roles "Test", "Test2"
  • Create an automatic rule for the role Test by Contract_EAV "kodoblast"="123"
  • Create an automatic rule for the role Test2 by Contract_EAV "kodoblast"="456"
  • Create an identity.
  • Create a new identity contract and set its EAV attribute "kodoblast"="123". This assigns the automatic role Test
  • Create a new identity contract and set its EAV attribute "kodoblast"="456". This adds the automatic role Test2 but it also removes Test

Please note that if there are e.g. 100 automatic roles, then the message "Request change in concept [7b623555-a60f-4223-99c6-15c08b161e9d], was not executed, because requested IdentityRole [bbf72996-905c-4b94-9d0a-fd1b0173d09c] was deleted (not from this role request)" appears 200x (with different IDs). This takes a long time - if the contract is created during synchronization, it looks like the synchronization is stuck.

Also, if I manually remove a contract, the automatic role (which was previously assigned thanks to this contract) is not deassigned from the identity.


Related issues

Related to IdStory Identity Manager - Task #980: Optimization automatic role by attributeClosedOndřej Kopr02/22/2018

Actions
Actions #1

Updated by Alena Peterová almost 7 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Alena Peterová almost 7 years ago

  • Subject changed from Automatic roles by attributes are repeatedly removed/added when an identity has 2 contracts to Automatic roles by attributes are repeatedly removed/added

Edit: This happens also for single contract.First assigning of the automatic role (after settings the contract's EAV) is OK. After editting the contract's EAV, recalculation starts to generate strange change requests.

Actions #4

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Ondřej Kopr almost 7 years ago

  • Related to Task #980: Optimization automatic role by attribute added
Actions #6

Updated by Ondřej Kopr almost 7 years ago

  • Target version set to Garnet (7.8.3)

This ticket will be resolved in #980

Actions #7

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from In Progress to Closed

This task was resolved by version 7.8.3

Actions

Also available in: Atom PDF