Ash FrameworkAF
Ash Framework7mo ago
17 replies
Joan Gavelán

Bypassing multitenancy directly from code interfaces

I know there is the multitenancy :bypass option for read actions but is it possible to pass it as an option in code interfaces as well?

Something like this or similar is what I'm looking for:

 Lamashka.Establishments.get_establishment(
   est_id, 
   scope: conn.assigns.scope, # only actor data available
   tenant: :bypass
)
Was this page helpful?