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
Anyone managed to get this to work with ActiveAdmin? It seems that with AA you can only access the records that your normal user was last logged in under (i.e. AR is still scoping the DB calls with the last tenant). I know there is the MultiTenant.without do but it's not clear you can integrate that with AA.
I thought about adding a current_user.admin_user? to the model tenant definition but not sure if that is right or would work.
The text was updated successfully, but these errors were encountered:
Anyone managed to get this to work with ActiveAdmin? It seems that with AA you can only access the records that your normal user was last logged in under (i.e. AR is still scoping the DB calls with the last tenant). I know there is the
MultiTenant.without do
but it's not clear you can integrate that with AA.I thought about adding a
current_user.admin_user?
to the model tenant definition but not sure if that is right or would work.The text was updated successfully, but these errors were encountered: