We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dacb8e6 commit 46608e6Copy full SHA for 46608e6
1 file changed
dojo/cicd_infrastructure/ui/forms.py
@@ -11,4 +11,7 @@ class Meta:
11
def __init__(self, *args, **kwargs):
12
super().__init__(*args, **kwargs)
13
if self.instance.pk:
14
+ # Disallow editing of the infra type on an instance; engagement CICD FKs are scoped by infrastructure_type
15
+ # via limit_choices_to (build_server/scm_server/orchestration), so changing the type would create a
16
+ # semantic conflict between an engagement and this object.
17
self.fields["infrastructure_type"].disabled = True
0 commit comments