Task #2518
closed
Script definition duplication
Added by Ondrej Husník about 4 years ago.
Updated over 3 years ago.
Description
One cool feature would be script duplication (similar to what you can do with systems). Create the same script but add copy to the name. It would save time with copying permissions.
It would allow you to basically use one script as a template for another one which is often useful.
- Related to Task #2516: Add support of bulk actions for script definition added
- Target version set to 10.7.0
- Target version changed from 10.7.0 to 10.8.0
- Target version changed from 10.8.0 to 11.0.0
- Related to Feature #2533: Add download button for backup scripts and templates bulk action added
- Related to Feature #2493: Allow deploy script via dropdown zone added
- Estimated time set to 4.00 h
- Estimated time changed from 4.00 h to 8.00 h
- Status changed from New to In Progress
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondrej Husník to Vít Švanda
- % Done changed from 0 to 90
- Assignee changed from Vít Švanda to Radek Tomiška
- Status changed from Needs feedback to In Progress
- Assignee changed from Radek Tomiška to Ondrej Husník
- % Done changed from 90 to 80
I did test and code review, it works, thx!
Review notes:
- Move logic from bulk action into script service (e.g. DefaultSysSystemService) and implement CloneableService interface properly. The main benefit is @Transactional usage - when script authority creation fails, then skeleton script is created (~persisted) now.
- we are not using abbreviations
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondrej Husník to Radek Tomiška
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Ondrej Husník
- % Done changed from 80 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF