mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Copy paste error
This commit is contained in:
@@ -1108,7 +1108,7 @@ class UserList(ListCreateAPIView):
|
|||||||
serializer_class = UserSerializer
|
serializer_class = UserSerializer
|
||||||
|
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
ret = super(OrganizationUsersList, self).post( request, *args, **kwargs)
|
ret = super(UserList, self).post( request, *args, **kwargs)
|
||||||
if request.data.get('is_system_auditor', False):
|
if request.data.get('is_system_auditor', False):
|
||||||
# This is a faux-field that just maps to checking the system
|
# This is a faux-field that just maps to checking the system
|
||||||
# auditor role member list.. unfortunately this means we can't
|
# auditor role member list.. unfortunately this means we can't
|
||||||
|
|||||||
Reference in New Issue
Block a user