Project

General

Profile

Actions

Task #1555

closed

Force delete for roles

Added by Radek Tomiška about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
03/15/2019
Due date:
% Done:

100%

Estimated time:
24.00 h
Owner:

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

Related to IdStory Identity Manager - Task #1520: Duplicate roles ClosedRadek Tomiška02/19/2019

Actions
Related to IdStory Identity Manager - Task #1363: Add bulk action "Remove and unassign role"RejectedRadek Tomiška11/06/2018

Actions
Related to IdStory Identity Manager - Defect #2350: Cannot view active operations in provisioning queue (error in communication with server)ClosedRadek Tomiška06/29/2020

Actions
Related to IdStory Identity Manager - Task #2444: Implement waiting for the completion of the LRT after all asynchronous eventsClosedRadek Tomiška08/18/2020

Actions
Related to IdStory Identity Manager - Defect #3115: DisallowConcurrentExecution annotation ignores tasks in state WaitingClosedRoman Kučera05/04/2022

Actions
Has duplicate IdStory Identity Manager - Task #1595: Improve role delete - force deleteRejectedMarcel Poul04/03/2019

Actions
Actions #1

Updated by Radek Tomiška about 5 years ago

Actions #2

Updated by Radek Tomiška about 5 years ago

  • Description updated (diff)
Actions #3

Updated by Radek Tomiška about 5 years ago

  • Has duplicate Task #1595: Improve role delete - force delete added
Actions #4

Updated by Radek Tomiška almost 5 years ago

  • Related to Task #1363: Add bulk action "Remove and unassign role" added
Actions #5

Updated by Radek Tomiška about 3 years ago

  • Target version set to 11.1.0
Actions #6

Updated by Radek Tomiška almost 3 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Radek Tomiška almost 3 years ago

  • Related to Defect #2350: Cannot view active operations in provisioning queue (error in communication with server) added
Actions #8

Updated by Radek Tomiška almost 3 years ago

  • % Done changed from 0 to 50
Actions #9

Updated by Radek Tomiška almost 3 years ago

  • Related to Task #2444: Implement waiting for the completion of the LRT after all asynchronous events added
Actions #10

Updated by Radek Tomiška almost 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?

Actions #11

Updated by Ondrej Husník almost 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.

Actions #12

Updated by Radek Tomiška almost 3 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Tomáš Doischer almost 2 years ago

  • Related to Defect #3115: DisallowConcurrentExecution annotation ignores tasks in state Waiting added
Actions

Also available in: Atom PDF