Replace converted xml book component file (sys admins only)
Sign off criteria
-
sys admin downloads the converted xml file (Already developed) -
sys admin can upload an xml file (No other roles can do this) -
The file uploaded overwrites the converted xml. This does not increase the file version. -
the filename is validated (must match existing file name) -
When the file is replaced, information is recorded in the 'Converted' column Replaced on [date and time] by [user]
. -
Alt-text shows when cursor is on icon 'Replace converted xml'
[Original issue]
Hi @lathrops1
You mentioned this VERY rare use case. Can you confirm the understanding below is correct.
- A system admins needs to replace a converted book component file. For example, if there is a bug in the conversion script, the sys admin needs to: download xml --> edit the xml file manually --> replace xml file.
- This replacement file (or "mod" files as you refer to them) would overwrite the current version.
- The system admin would need to add a comment at upload point so there is a record of why the file has been changed.
In our UI we would design separate button or modal that only the sys admin would see.