Project

General

Profile

Actions

Defect #2010

closed

ProcessAllAutomaticRoleByAttributeTaskExecutor doesn't remove role

Added by Ondřej Kopr over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Ondřej Kopr
Category:
Automatic roles
Target version:
Start date:
01/15/2020
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

LRT ProcessAllAutomaticRoleByAttributeTaskExecutor doesn't remove automatic roles from identities because missing reference to identity role during create new concept.

When in one run of this task is one automatic role removed from more than 100 users this LRT doesn't end = infinite loop. You must manually shutdown this LRT.

As fix can be used LRT ProcessAutomaticRoleByAttributeTaskExecutor that recalculate one automatic role.

Affected version: > Quartz (9.6.0) (#1632)

Actions #1

Updated by Ondřej Kopr over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ondřej Kopr over 4 years ago

  • Status changed from In Progress to Needs feedback
  • % Done changed from 0 to 90

I fixed lrt ProcessAllAutomaticRoleByAttributeTaskExecutor and added new tests for this usecase.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/7e1a8575d234991f35520365edac13a5277458cc (branch: hotfix-9.7.14)

Please Radek could you provide me a feedback? Thank you

Actions #3

Updated by Radek Tomiška over 4 years ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 90 to 100

I did test and code review. I disabled all processors for automatic roles by attributes and run ProcessAllAutomaticRoleByAttributeTaskExecutor, works great now - automatic roles are removed and assigned properly. Thx!

Actions #4

Updated by Radek Tomiška over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF