Sarah Funkhouser
Sarah Funkhouser
We are using `atlas` for migrations, which has support for `libsql`, a fork of SQLite, however, today you cannot use versioned migrations because it uses ent, which doesn't support the...
**Describe the bug or issue you're encountering** When deleting a parent organization, it was recently fixed that it's child organizations would also be deleted (https://github.com/datumforge/datum/pull/801). However, this fails to delete...
Once https://github.com/datumforge/datum/issues/794 is implemented, we need to add guardrails to never allow the following to be deleted via the API. - `datum_controlled_top_level` - `systemorg`
Writes: If an organization has a dedicated database, we need to make sure all write requests are written to their database, and any top leve changes to the root org...
Use feature flags to enable the dedicated db, rather than a database field/command line parameter (e.g. we want this controlled by the customer tier/features, not allow it to be specifically...
Tenant databases need to have their database schema up to date with the main datum database. We recently moved to goose migrations, which runs the migrations on the container startup...
Look at adding embedded replicas, this has the potential to give us faster reads (and potentially eliminate the need for local cache), because there is no network connection (writes are...
Datum will provide a set of root `jsonschema` templates for documents such as invoices, quotes, etc. These need to be seeded into the database and accessible to all users to...
- Add authorization checks - Ensure regular users cannot create `roottemplates`, these are seeded into the database and owned by the datum system - Add tests
- Add permission checks - Add tests