-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing feature multitenancy #400
Comments
@BastiInnovation I had a quick look over the linked blog post and there seems to have been quite a bit that changed in the area of Therefor I want to give some more insight into the topic. There is a big difference between Here is a simple illustration of how it work in the case of sequenceDiagram
CAP->>HANA Broker: create tenant
HANA Broker-->>CAP: tenant credentials
CAP->>HANA tenant: connect
Note right of HANA tenant: credential rotation
CAP->>HANA tenant: connect fails
CAP->>HANA Broker: read tenant
HANA Broker-->>CAP: tenant credentials
CAP->>HANA tenant: connect
So how it would look like for sequenceDiagram
CAP->>Postgres: connect with credentials
CAP->>Postgres: create tenant schema
Postgres-->>CAP:
CAP->>Postgres: deploy tenant contents
Postgres-->>CAP:
CAP->>Postgres: switch tenant schema
Postgres-->>CAP:
CAP->>Postgres: switch tenant schema
Postgres-->>CAP: ...
So the following security relevant topics should be kept in mind:
|
Is there any update on the support for multitenancy and extensibility in PostgreSQL? Thanks |
is there any plan to support this?, thanks. |
Hi all,
The night was not long enough to see how this package behaves with this approach, but I hope to not find any blocker. +Update: With a few lines of code and "executives" decisions on security aspects on the PostgresService I was able to make it work, the apps can just connect to the corresponding tenants/schemas: I would like to contribute on this package & the mtx, any idea how can we make this happen?, thanks. |
Any update on this? Seems like an obvious next step to get more feature-parity with the commitment to the Open Plugin Architecture... |
Migration to postgres
I read the tutorial Multitenant Business Application with PostgreSQL, to get multitenant support in my SaaS-Application. The package used in the tutorial, is the deprecated cds-pg package.
After that I found out that there is no support in cds-js/postgres yet.
Is the support available soon? are there other ways to achieve multitenancy with postgres?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: