Task #1555
closedForce delete for roles
100%
Description
Improve bulk action for the delete role and add "force" delete parameter - role will be deleted with all related records ("cascade delete"). Will be removed at least:
- automatic roles
- role composition
- role form attributes
- extended attributes
Could be implemented the same way as duplicate role bulk action with processors (=> cascade over modules).
Note: Assigned roles and system mapping will be still not removed automatically (validation) - we will do analysis in the next step, if it's not a dangerous operation (and implement new processor).
Note: it's "reverse" operation for the duplicate role action - duplicated role cannot be deleted easily now.
Related issues
Updated by Radek Tomiška almost 6 years ago
- Related to Task #1520: Duplicate roles added
Updated by Radek Tomiška over 5 years ago
- Has duplicate Task #1595: Improve role delete - force delete added
Updated by Radek Tomiška over 5 years ago
- Related to Task #1363: Add bulk action "Remove and unassign role" added
Updated by Radek Tomiška over 3 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška over 3 years ago
- Related to Defect #2350: Cannot view active operations in provisioning queue (error in communication with server) added
Updated by Radek Tomiška over 3 years ago
- Related to Task #2444: Implement waiting for the completion of the LRT after all asynchronous events added
Updated by Radek Tomiška over 3 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondrej Husník
- % Done changed from 50 to 90
Feature is implemented, based on waiting for the completion of the bulk action for delete role after all asynchronous events is processed (implemented in #2444).
All related records - assigned roles, automatic roles and business roles etc. are removed, when force delete is set.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/91af4ceffb8f5707d865d7f7bfde079ac3157225
Could you provide me a feedback, please?
Updated by Ondrej Husník over 3 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondrej Husník to Radek Tomiška
- % Done changed from 90 to 100
I tested the feature and it works fine. I'm sure it will be very useful for users. Great job.
Assigned roles are also removed although the original task description doesn't expect that. But it makes sense and after the consultation a note is given here.
I found just small typos which I fixed immediately.
Updated by Radek Tomiška over 3 years ago
- Status changed from Resolved to Closed
Updated by Tomáš Doischer over 2 years ago
- Related to Defect #3115: DisallowConcurrentExecution annotation ignores tasks in state Waiting added