Project

General

Profile

Actions

Defect #1491

closed

Recalculate automatic roles while identity state was changed

Added by Ondřej Kopr almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Roles
Target version:
Start date:
02/06/2019
Due date:
% Done:

90%

Estimated time:
Affected versions:
Owner:

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

Actions #1

Updated by Vít Švanda almost 6 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #2

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #4

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #6

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #8

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #9

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #10

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #11

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #12

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #13

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to New
Actions #14

Updated by Vít Švanda almost 6 years ago

  • Assignee changed from Radek Tomiška to Ondřej Kopr
Actions #15

Updated by Ondřej Kopr almost 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30
Actions #16

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

Actions #17

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).

Actions #18

Updated by Ondřej Kopr almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF