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

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

Open
mezitax opened this issue Mar 25, 2020 · 1 comment
Open

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

mezitax opened this issue Mar 25, 2020 · 1 comment

Comments

@mezitax
Copy link

mezitax commented Mar 25, 2020

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
Copy link
Contributor

Currently this is not supported by the lib

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