Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with ActiveAdmin? #72

Open
aximuseng opened this issue Dec 3, 2019 · 0 comments
Open

Compatibility with ActiveAdmin? #72

aximuseng opened this issue Dec 3, 2019 · 0 comments
Labels

Comments

@aximuseng
Copy link

aximuseng commented Dec 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants