TLDR: Make collection admin hidden function async and provide PayloadRequest object instead of only user. #13346
ckruppe
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
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 i am implementing an somewhat different kind of multi tenancy for an customer.
Its different in terms of how the tenancy is used. Collections and collection items are tenant dependent but not the users themselves.
So every user has access to every tenant. The tenant selection field has only influence over which collections or collection items should be shown or edited right now.
As of now the hidden function does not support that as its not possible to read the tenant selection from the cookie and request its unique name to hide an collection depending on it.
I would propose the possibility for the hidden function to be async and giving the full PayloadRequest object instead of only the user as parameters.
Beta Was this translation helpful? Give feedback.
All reactions