Defect #1491
closedRecalculate automatic roles while identity state was changed
Added by Ondřej Kopr almost 6 years ago. Updated almost 6 years ago.
90%
Description
Please is required recalculate probably all automatic role by attribute while was changed state of identity - disabled -> enabled.
For usecase please contact Ondra K. or Petr M.
Affected version <9.4.0-rc.2
Updated by Vít Švanda almost 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Vít Švanda almost 6 years ago
- Status changed from New to In Progress
Updated by Vít Švanda almost 6 years ago
- Status changed from In Progress to New
Updated by Vít Švanda almost 6 years ago
- Status changed from New to In Progress
Updated by Vít Švanda almost 6 years ago
- Status changed from In Progress to New
Updated by Vít Švanda almost 6 years ago
- Assignee changed from Radek Tomiška to Ondřej Kopr
Updated by Ondřej Kopr almost 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
Updated by Ondřej Kopr almost 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 30 to 90
Add new processor that recalculate all automatic roles for all contract while is identity state changed from valid to invalid or invalid to valid. Processor set skip automatic role recalculation after this step (optimalization).
I must also add new internal method for recalculation. Original method for recalculate is wrapped in new transaction.
Tests are included.
commit: https://github.com/bcvsolutions/CzechIdMng/commit/4beac4d18b085f73370d161937cfe1b46b17b303 (branch develop)
Please Radek could you make a feedback? Thank you
Updated by Radek Tomiška almost 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Ondřej Kopr
I did test and review, it works and code looks nice, thx!
Note: i little improved documentation, when identity is disabled manually or excluded, then identity roles are preserved and it's ok (it's just about identity state).
Updated by Ondřej Kopr almost 6 years ago
- Status changed from Resolved to Closed