Defect #1491
closed
Recalculate automatic roles while identity state was changed
Added by Ondřej Kopr about 5 years ago.
Updated about 5 years ago.
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
- Assignee changed from Ondřej Kopr to Radek Tomiška
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to New
- Status changed from New to In Progress
- Status changed from In Progress to New
- Assignee changed from Radek Tomiška to Ondřej Kopr
- Status changed from New to In Progress
- % Done changed from 0 to 30
- 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
- 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).
- Status changed from Resolved to Closed
Also available in: Atom
PDF