Task #1520
closedDuplicate roles
100%
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
Updated by Ondřej Kopr almost 6 years ago
- Assignee changed from Radek Tomiška to Luboš Čábelka
Updated by Ondřej Kopr almost 6 years ago
- Assignee changed from Luboš Čábelka to Radek Tomiška
Updated by Ondřej Kopr almost 6 years ago
- Assignee changed from Radek Tomiška to Roman Kučera
Updated by Ondřej Kopr almost 6 years ago
- Assignee changed from Roman Kučera to Radek Tomiška
Updated by Radek Tomiška almost 6 years ago
- Description updated (diff)
- Estimated time changed from 80.00 h to 100.00 h
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")
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
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
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.
Updated by Radek Tomiška almost 6 years ago
- Related to Task #1552: Bulk action - support result summary added
Updated by Radek Tomiška almost 6 years ago
- Related to Task #1534: Incremental account management and provisioning added
Updated by Radek Tomiška almost 6 years ago
- Related to Task #1555: Force delete for roles added
Updated by Radek Tomiška almost 6 years ago
- Subject changed from Clone roles to Duplicate roles
- Description updated (diff)
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)
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
Updated by Radek Tomiška almost 6 years ago
And dev documentation is here:
https://wiki.czechidm.com/9.5/documentation/roles/dev/duplicate-role
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
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))