mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
Turn off permissions check bypassing for admins when hitting the execution environment list and detail views.
This commit is contained in:
committed by
Shane McDonald
parent
5b2adc89cf
commit
b417fc3803
@@ -688,6 +688,7 @@ class TeamAccessList(ResourceAccessList):
|
||||
|
||||
class ExecutionEnvironmentList(ListCreateAPIView):
|
||||
|
||||
always_allow_superuser = False
|
||||
model = models.ExecutionEnvironment
|
||||
serializer_class = serializers.ExecutionEnvironmentSerializer
|
||||
swagger_topic = "Execution Environments"
|
||||
@@ -695,6 +696,7 @@ class ExecutionEnvironmentList(ListCreateAPIView):
|
||||
|
||||
class ExecutionEnvironmentDetail(RetrieveUpdateDestroyAPIView):
|
||||
|
||||
always_allow_superuser = False
|
||||
model = models.ExecutionEnvironment
|
||||
serializer_class = serializers.ExecutionEnvironmentSerializer
|
||||
swagger_topic = "Execution Environments"
|
||||
|
||||
Reference in New Issue
Block a user