misc: import operations from a2_rbac (#70545)
This commit is contained in:
parent
a80d9b5de3
commit
f838fcbb78
|
@ -24,11 +24,6 @@ from django.db.models.signals import post_save, post_migrate
|
|||
from django.contrib.contenttypes.models import ContentType
|
||||
|
||||
from django_rbac.utils import get_operation
|
||||
from django_rbac.models import (
|
||||
ADMIN_OP,
|
||||
CHANGE_OP,
|
||||
ADD_OP,
|
||||
)
|
||||
|
||||
from authentic2.custom_user.models import User
|
||||
from authentic2.a2_rbac.models import (
|
||||
|
@ -38,6 +33,9 @@ from authentic2.a2_rbac.models import (
|
|||
RESET_PASSWORD_OP,
|
||||
ACTIVATE_OP,
|
||||
CHANGE_EMAIL_OP,
|
||||
ADMIN_OP,
|
||||
CHANGE_OP,
|
||||
ADD_OP,
|
||||
)
|
||||
from authentic2.models import Service
|
||||
|
||||
|
|
Loading…
Reference in New Issue