Comments (1)
What I'm confused about is that the second tenant needs to have a parent tenant. Isn't it possible to have tenants act as websites that have nothing to do with each other?
Create a single root tenant that has ultimate control of all users & tenants, then create each of the 3 sites as sub-tenants under that.
This way you can have users in the root tenant that can login to any of the sites, but also some users who are site-specific.
Just think of the root tenant as being there for access control. It might even be possible to hide all the resource collections, etc. from the root tenant as they don't need them - I asked this question in #34
Also, when my user is connected to the root tenant and then switch to a child tenant, it works, but I can never switch back to any other tenant.
If you are using "User" isolationStrategy then this will be the issue. Try using "path" isolationStrategy instead once you have it all set up.
from payload-tenancy.
Related Issues (20)
- User with same email on different tenants not possible HOT 1
- Payload 2.0 HOT 5
- Tenant isolation "path" strategy HOT 1
- 2.0: Invalid field error when trying to create additional tenant manually HOT 4
- 2.0: Globals can't be localized
- Official form builder plugin issue HOT 1
- GraphQl playground not working after configuring plugin HOT 2
- Cannot access REST APIs via Users API key HOT 1
- isolationStrategy: "domain" not working in local setup HOT 1
- how to set limit parameter to find more than 10 child tenants? HOT 1
- Access control questions HOT 1
- PostgreSQL support HOT 1
- Isolation stragery path prevents accessing the admin dashboard HOT 1
- Can't access any collections after installing HOT 1
- Payload 3.0? HOT 1
- npm install error
- Postgres Error: "invalid reference to FROM-clause entry for table" HOT 1
- Cannot update Global after creating HOT 1
- readOnly access doesn't work HOT 5
- Feature: Add multi-segment path support for tenant isolation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from payload-tenancy.