mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
do not allow tower group delete or name change
* DO allow policy changes and other attribute changes
This commit is contained in:
@@ -661,6 +661,7 @@ class InstanceGroupList(ListCreateAPIView):
|
||||
|
||||
class InstanceGroupDetail(RelatedJobsPreventDeleteMixin, RetrieveUpdateDestroyAPIView):
|
||||
|
||||
always_allow_superuser = False
|
||||
view_name = _("Instance Group Detail")
|
||||
model = InstanceGroup
|
||||
serializer_class = InstanceGroupSerializer
|
||||
|
||||
Reference in New Issue
Block a user