Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/admin-data-export/consts.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,10 @@ export const DATA_EXPORT = [
"type": "User",
"id": "user.csv",
"name": "user.csv"
},
{
"type": "User",
"id": "roleAssignment.csv",
"name": "roleAssignment.csv"
}
];
11 changes: 9 additions & 2 deletions src/admin-data-import/messages_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"admin.dataImport.types.products.info": "To import Products you need: orderable.csv, programOrderable.csv, tradeItem.csv",
"admin.dataImport.types.population.info": "To import Population you need a ZIP with a geographicZone.csv file",
"admin.dataImport.types.facilities.info": "To import Facilities you need: facility.csv, supportedProgram.csv",
"admin.dataImport.types.users.info": "To import Users you need: user.csv",
"admin.dataImport.types.users.info": "To import Users you need: user.csv, roleAssignment.csv",
"admin.dataImport.modal.summary": "Import Summary",
"admin.dataImport.modal.totalEntries": "Total Entries",
"admin.dataImport.modal.successfulEntries": "Successful Entries",
Expand All @@ -26,5 +26,12 @@
"referenceData.import.column.header.username": "Username",
"notification.error.user.notFound": "User with id cannot be found.",
"notification.error.user.notActiveOrNotFound": "The user with the provided ID is not active or cannot be found",
"notification.error.fieldIsInvariant": "Email verified field is an invariant and should not be changed."
"notification.error.fieldIsInvariant": "Email verified field is an invariant and should not be changed.",
"referenceData.import.column.header.role": "Role",
"referenceData.error.roleAssignment.roleType.notInAcceptableTypes": "Role type is not in acceptable types",
"referenceData.error.user.import.user.notFound": "User not found",
"referenceData.error.user.import.role.notFound": "Role not found",
"referenceData.error.user.import.program.notFound": "Program not found",
"referenceData.error.user.import.supervisoryNode.notFound": "Supervisory node not found",
"referenceData.error.user.import.warehouse.notFound": "Warehouse not found"
}
Loading