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

sync_roles across multitenant app #149

Open
raghunandan13 opened this issue Nov 23, 2023 · 1 comment
Open

sync_roles across multitenant app #149

raghunandan13 opened this issue Nov 23, 2023 · 1 comment

Comments

@raghunandan13
Copy link

raghunandan13 commented Nov 23, 2023

I have a multi tenant app with each tenant having same db and different schema. i want to use sync_roles management command across all the tenant. I am using django-tenant package. After using sync_roles, roles are synced across public schema only

@fjsj
Copy link
Member

fjsj commented Nov 23, 2023

Hi @raghunandan13, I think you will have to re-implement sync_roles.py to work with multiple schemas. Check how to change schemas manually with django-tenant and adapt the sync_roles code to do that.

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

No branches or pull requests

2 participants