mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Prevent launching ad hoc commands when license has expired.
This commit is contained in:
@@ -2309,6 +2309,7 @@ class AdHocCommandList(ListCreateAPIView):
|
||||
model = AdHocCommand
|
||||
serializer_class = AdHocCommandListSerializer
|
||||
new_in_220 = True
|
||||
always_allow_superuser = False
|
||||
|
||||
@csrf_exempt
|
||||
@transaction.non_atomic_requests
|
||||
|
||||
Reference in New Issue
Block a user