Project

General

Profile

Actions

Task #1164

closed

Bulk backend action - prevalidate

Added by Vít Švanda almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Bulk operations
Target version:
Start date:
07/02/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

In some actions, we need to show some additional informations to user before start that action. For example number of relationships on the identities in the role. This informations depends on the current selected entities and must be computed on the backend.


Related issues

Related to IdStory Identity Manager - Task #781: Do acc and provisioning when system on role changedClosedVít Švanda10/23/2017

Actions
Actions #1

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 0 to 90
Actions #2

Updated by Vít Švanda almost 6 years ago

Prevalidate feature:

  • Every action has method "prevalidate" returns 'ResultModels'. In infos list can be send additional informations from backend and show to user.
  • Prevalidate method is called only on show the bulk operation modal dialog.
  • ResultModels uses standard ResultCode enumerations.

Icon feature:

  • Every bulk action can has icon representation now. That icon is shows in the actions selectbox. Icon can be defined in the localization with using the 'icon' key.

Help message feature:

  • Every bulk action can has help box shows on the modal dialog. Icon can be defined in the localization with using the 'help' key.
Actions #3

Updated by Vít Švanda almost 6 years ago

Every changes are in the branch "vsvanda/781-bulk-action-ACM-for-role"
Documentation is here: https://wiki.czechidm.com/devel/documentation/bulk_actions/dev/bulk_actions#prevalidate

Actions #4

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #5

Updated by Vít Švanda almost 6 years ago

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

Updated by Vít Švanda almost 6 years ago

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

Updated by Radek Tomiška almost 6 years ago

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

Updated by Radek Tomiška almost 6 years ago

  • Related to Task #781: Do acc and provisioning when system on role changed added
Actions #9

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and review, i like this feature, is awesome!

I improved and refactored:
- result model is returned, if result code exception is thrown in remove action
- show all long running task conters on FE
- bulk action service on FE was removed - logic was moved into abstract service and manager

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/49551e578e5c0a04745da4184be9dc59933a8a57

Actions

Also available in: Atom PDF