← Back to the case study

Live demo

Roles and data migration

A browser simulation of a real app built in Frappe. It shows a freshly migrated site and the three fixes that make it usable: default roles, mapped fees, and recovered files. Nothing leaves your browser.

Try this

  1. Press Apply default roles. Each user gets the roles for their designation; roles they already had are kept. Run it twice: nothing is duplicated.
  2. In the fee mapping table, map each old fee code to a new fee. Unmapped codes are flagged until you map them.
  3. Press Recover missing files. Files with no file on disk are restored from the backup. receipt-0042.jpg is already on disk and is not overwritten. grades-g7.xlsx is not in the backup and stays missing.

1. Default roles

UserDesignationRoles
Maria LopezCashierNone
Jon Dela CruzRegistrarCustom Report Viewer
Liza OcampoTeacherNone

2. Fee mapping

Old fee codeNew fee
TUI-A
LAB-1
MISC
LIB-OLD

Unmapped: LAB-1, MISC, LIB-OLD. Old bills using these codes will not match a fee.

3. File attachments

File recordOn diskIn backupLast recovery
enrollment-form-ana.pdfMissingYes-
receipt-0042.jpgYesYes-
grades-g7.xlsxMissingNo-
Changes are saved in this browser only.