How to `multitenancy :bypass` of nested/normal load
Hi, if i have a relation that has
read_action which call the function which has multitenancy :bypass, i get this error
For example:
Relation:
This :read_any inside MishkaDocument.WorkspaceVersion is
How can bypass it?
Thank you in advance5 Replies
The section resource required a tenant
The error message shows you which resource is telling you needs a tenant
So you have to set a tenant to interact with the section
Hi @Zach thank you, it shows this error when i have load! if i comment it, it dose not need tenant!! Please see my example the action has
multitenancy :bypass in Section and all the relations have this too
for example as you see
and the master_get is
it dose not need when i do not call load, if i load like this, i get error!
Right, even when loading data you are using the configuration of an action
Solution
So set
action: :master_read on the load call as wellSo much Thank you Zach 🙏🏻