vintasoftware / django-role-permissions

A django app for role based permissions.
http://django-role-permissions.readthedocs.org/
MIT License
728 stars 114 forks source link

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

Open mezitax opened 4 years ago

mezitax commented 4 years ago

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?

filipeximenes commented 4 years ago

Currently this is not supported by the lib