Task #1164
closedBulk backend action - prevalidate
100%
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
Updated by Vít Švanda over 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.
Updated by Vít Švanda over 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
Updated by Vít Švanda over 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Ondřej Kopr
Updated by Vít Švanda over 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Vít Švanda over 6 years ago
- Assignee changed from Radek Tomiška to Ondřej Kopr
Updated by Radek Tomiška over 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Radek Tomiška over 6 years ago
- Related to Task #781: Do acc and provisioning when system on role changed added
Updated by Radek Tomiška over 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