Skip to content
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

Make it compliance with Multitenancy addon #24

Open
maslopop opened this issue Mar 22, 2021 · 0 comments
Open

Make it compliance with Multitenancy addon #24

maslopop opened this issue Mar 22, 2021 · 0 comments

Comments

@maslopop
Copy link

maslopop commented Mar 22, 2021

Please ...
make this addon compliance with Multitenancy addon

https://www.cuba-platform.com/marketplace/multitenancy/

Use one of the following ways to make your own entities tenant-specific:
Extend StandardTenantEntity instead of the StandardEntity class. StandardTenantEntity is the equivalent of the >StandardEntityclass but with an additional TENANT_ID column.
Implement TenantEntity interface and add the @TenantID annotation to the column containing the tenant ID manually.
Note. Tenants don't have write access to entities without the tenantId attribute. It is also true for CUBA system entities.

Massimo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant