django-role-permissions icon indicating copy to clipboard operation
django-role-permissions copied to clipboard

Is there a way to call 2 different roles.py from sync_roles?

Open mezitax opened this issue 4 years ago • 1 comments

I am using role-permissions on a multi tenant system. For the shared tenant I run sync_roles at the beginning of the migrations and for each tenant sync_roles is run programmatically to create different groups from the first ones. At this time the app creates the same groups at the public and tenant levels. How could I run to 2 different roles.py?

mezitax avatar Mar 25 '20 04:03 mezitax

Currently this is not supported by the lib

filipeximenes avatar Mar 27 '20 14:03 filipeximenes