UoM-NXCT / TAMS

Makes storing and accessing tomographic data easy and quick.
https://tams-nxct.readthedocs.io/
MIT License
1 stars 1 forks source link

Allow user to update database information when adding data to library #53

Closed tjkuson closed 1 year ago

tjkuson commented 1 year ago

Describe the solution you would like When a user adds a scan to the library, this is not added to the database. The application should read the metadata and ask the user if it should update the database with the metadata.

Describe alternatives you have considered We don't want to give the user raw database access, so it should be done via the application.

Additional context The main concern is security. What if the user inputs something malicious which the application runs? We need to guard against SQL injections. We also don't want the user to accidently remove data from the database, so we need to make sure what is happening with data is communicated clearly to the user.

Additionally, it might be worth considering if we should add an admin screen for arbitrary editing of the database.