Project

General

Profile

Actions

Task #1520

closed

Duplicate roles

Added by Radek Tomiška almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
02/19/2019
Due date:
% Done:

100%

Estimated time:
100.00 h
Owner:

Description

Implement feature to duplicate roles (between environment):
- create new bulk action on the role table
- bulk action will have input parameter environment - if the same environment is selected, then index into role code will be added
- role will be created or updated on the selected environment:
-- new event type DUPLICATE will be created - processor on custom module can be registred (fill target role attributes)
- sub role composition will be created / updated ("application" sub roles has to exist, business sub roles will be cloned recursively - will be overidable project feature - clone 1:1 will work by default)
- automatic role definition will be created / updated (by tree structure and attributes)
- role form attributes will be created or updated


Related issues

Related to IdStory Identity Manager - Task #1552: Bulk action - support result summaryNewRadek Tomiška03/14/2019

Actions
Related to IdStory Identity Manager - Task #1534: Incremental account management and provisioningClosedVít Švanda02/25/2019

Actions
Related to IdStory Identity Manager - Task #1555: Force delete for rolesClosedRadek Tomiška03/15/2019

Actions
Actions #1

Updated by Vít Švanda almost 6 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Ondřej Kopr almost 6 years ago

  • Assignee changed from Radek Tomiška to Luboš Čábelka
Actions #4

Updated by Ondřej Kopr almost 6 years ago

  • Assignee changed from Luboš Čábelka to Radek Tomiška
Actions #5

Updated by Ondřej Kopr almost 6 years ago

  • Assignee changed from Radek Tomiška to Roman Kučera
Actions #6

Updated by Ondřej Kopr almost 6 years ago

  • Assignee changed from Roman Kučera to Radek Tomiška
Actions #7

Updated by Radek Tomiška almost 6 years ago

  • Description updated (diff)
  • Estimated time changed from 80.00 h to 100.00 h
Actions #8

Updated by Radek Tomiška almost 6 years ago

The basic green line is implemented. Remain:
- check cyclic roles, when composition is cloned
- improve cloning automatic roles by attribute (create + drop now)
- implement skip mechanism for account management + provisioning (now is computed "online")
- created some action "summary"
- create action configuration ("checkboxes")

Actions #9

Updated by Radek Tomiška almost 6 years ago

  • % Done changed from 0 to 30
Actions #10

Updated by Radek Tomiška almost 6 years ago

  • % Done changed from 30 to 60

Implemented:
- check cyclic roles, when composition is cloned
- improve cloning automatic roles by attribute (create + drop now)
- implement skip mechanism for account management + provisioning (now is computed "online")
- create action configuration ("checkboxes")

Remain:
- test
- documentation

Actions #11

Updated by Radek Tomiška almost 6 years ago

  • Subject changed from Clone business roles to Clone roles
  • Description updated (diff)
  • % Done changed from 60 to 80
Actions #12

Updated by Radek Tomiška almost 6 years ago

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

All needed features above are implemented.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/bd0331edda87c3abd873a2a4d4860e5717bd3d03

Could you do a feedback please? I'll add documentation in the mean time.

Actions #13

Updated by Radek Tomiška almost 6 years ago

  • Related to Task #1552: Bulk action - support result summary added
Actions #14

Updated by Radek Tomiška almost 6 years ago

  • Related to Task #1534: Incremental account management and provisioning added
Actions #15

Updated by Radek Tomiška almost 6 years ago

  • Related to Task #1555: Force delete for roles added
Actions #16

Updated by Radek Tomiška almost 6 years ago

  • Subject changed from Clone roles to Duplicate roles
  • Description updated (diff)
Actions #17

Updated by Vít Švanda almost 6 years ago

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

I reviewed it. Everything works correctly. Code is nice. Thanks for that

I found only two UX things:
- Some kind of summarizing could be usefull (will be implemented in #1552).
- Exceptions from LRTs (bussines role, automatic role ...) should be logged in main bulk operation (now only Rollback transaction exception is logged)

Actions #18

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Resolved to Closed

Thx, i extended requirements for the propagate exception from LRT into #1522.

And admin documentation is here:
https://wiki.czechidm.com/devel/documentation/roles#duplicate_role

Actions #19

Updated by Radek Tomiška almost 6 years ago

Actions #20

Updated by Radek Tomiška over 3 years ago

  • Related to Defect #2903: Event: Prevent to use original source from parent event (wrong original source is propaged in event and cannot be used) added
Actions #21

Updated by Radek Tomiška over 3 years ago

  • Related to deleted (Defect #2903: Event: Prevent to use original source from parent event (wrong original source is propaged in event and cannot be used))
Actions

Also available in: Atom PDF