You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
In the multi-tenant plugin for Payload CMS, when a user is editing a document and switches tenant using the tenant selector in the admin UI, the currently edited document’s tenant is updated to the newly selected tenant. This behavior can (and does) unintentionally move documents between tenants.
Expected behavior:
Instead of updating the tenant on the document being edited, switching tenant should either:
Redirect the user to the collection list view of the newly selected tenant, or
Redirect the user to the admin home page for the newly selected tenant
This would prevent accidental cross-tenant updates and ensure clearer separation between tenants.
Multi-tenant.bug.mov
Reproduction Steps
Enable the multi-tenant plugin on a collection
Use the menu's tenant selector to switch from one tenant to another
Observe the tenant field being updated (field can be toggled using the multi-tenant debug)
Describe the Bug.
Issue description:
In the multi-tenant plugin for Payload CMS, when a user is editing a document and switches tenant using the tenant selector in the admin UI, the currently edited document’s tenant is updated to the newly selected tenant. This behavior can (and does) unintentionally move documents between tenants.
Expected behavior:
Instead of updating the tenant on the document being edited, switching tenant should either:
This would prevent accidental cross-tenant updates and ensure clearer separation between tenants.
Multi-tenant.bug.mov
Reproduction Steps
Environment Info
The text was updated successfully, but these errors were encountered: