django-role-permissions
django-role-permissions copied to clipboard
sync_roles across multitenant app
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
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.