neuroforgede / nfcompose

Build REST APIs/Integrations in minutes instead of hours - NF Compose is a (data) integration platform that allows developers to define REST APIs in seconds instead of hours. Generated REST APIs are backed by postgres and support automatic consumer webhook notifications on data changes out of the box.
Mozilla Public License 2.0
34 stars 3 forks source link

Implement compose_cli client support for Tenant and global User management #38

Open s4ke opened 1 year ago

s4ke commented 1 year ago
s4ke commented 1 year ago

Before we decide on actually doing this with diffing, we have to be careful to not accidentally create a footgun that deletes tenants and users by accident.

Tenants are already guarded by their softdelete nature though. However there is no way to delete a tenant and then recreate it without admin intervention anyways.

This leads to at least an argument against full diff-logic being a good idea. Instead, we can expose libraries for fetching and creating, but not full automatic migrations similar to how we do it for DataPoints.