Enable Multi-Tenancy for Globals #12120
eilidhhyslop-fmp
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 1 reply
-
You can use a collection as a singleton with the multi tenancy plugin. Just set multiTenantPlugin<Config>({
collections: {
pages: {},
layouts: {
isGlobal: true,
},
},
}), |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now, the Multi-Tenancy Plug-In works with Collections but not with Globals.
From a design point-of-view, it doesn't appear to make sense to prevent a Singleton (a Global) from using Multi-Tenancy.
An example given in the documentation for use of a Global is a site navigation. I think this is a perfect example to illustrate why Multi-Tenancy should be available, as a use case is a different Tenant for a different site. In these cases, each site would need its own navigation. Therefore, it makes sense for Globals to be available on both multiple locales (which they already are) and multiple Tenants (which is missing functionality atm).
Beta Was this translation helpful? Give feedback.
All reactions