mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Copy paste error
This commit is contained in:
parent
58f142e2e6
commit
9e562deb0c
@ -1108,7 +1108,7 @@ class UserList(ListCreateAPIView):
|
||||
serializer_class = UserSerializer
|
||||
|
||||
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):
|
||||
# This is a faux-field that just maps to checking the system
|
||||
# auditor role member list.. unfortunately this means we can't
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user