Defect #2010
closedProcessAllAutomaticRoleByAttributeTaskExecutor doesn't remove role
100%
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)
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
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!
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed