mirror of
https://github.com/ansible/awx.git
synced 2026-04-28 21:25:25 -02:30
Merge branch 'master' into expunge-zeromq-unstable
Conflicts: awx/main/management/commands/run_callback_receiver.py awx/main/management/commands/run_task_system.py
This commit is contained in:
@@ -775,6 +775,7 @@ class UserList(ListCreateAPIView):
|
||||
model = User
|
||||
serializer_class = UserSerializer
|
||||
|
||||
@disallow_superuser_escalation
|
||||
class UserMeList(ListAPIView):
|
||||
|
||||
model = User
|
||||
@@ -849,7 +850,7 @@ class UserActivityStreamList(SubListAPIView):
|
||||
return qs.filter(Q(actor=parent) | Q(user__in=[parent]))
|
||||
|
||||
|
||||
|
||||
@disallow_superuser_escalation
|
||||
class UserDetail(RetrieveUpdateDestroyAPIView):
|
||||
|
||||
model = User
|
||||
|
||||
Reference in New Issue
Block a user