mirror of
https://github.com/ansible/awx.git
synced 2026-03-18 09:27:31 -02:30
Remove can_access methods and registration
This commit is contained in:
@@ -37,7 +37,6 @@ _PythonSerializer.handle_m2m_field = _new_handle_m2m_field
|
||||
from django.contrib.auth.models import User # noqa
|
||||
from awx.main.access import * # noqa
|
||||
User.add_to_class('get_queryset', get_user_queryset)
|
||||
User.add_to_class('can_access', check_user_access)
|
||||
|
||||
# Import signal handlers only after models have been defined.
|
||||
import awx.main.signals # noqa
|
||||
|
||||
Reference in New Issue
Block a user