diff --git a/packages/editor-ui/src/mixins/nodeHelpers.ts b/packages/editor-ui/src/mixins/nodeHelpers.ts index 8ee92e12b1..8f7dec8ffd 100644 --- a/packages/editor-ui/src/mixins/nodeHelpers.ts +++ b/packages/editor-ui/src/mixins/nodeHelpers.ts @@ -48,6 +48,7 @@ export const nodeHelpers = defineComponent({ useNodeTypesStore, useSettingsStore, useWorkflowsStore, + useUsersStore, ), }, methods: { @@ -355,9 +356,10 @@ export const nodeHelpers = defineComponent({ } if (nameMatches.length === 0) { + const isInstanceOwner = this.usersStore.isInstanceOwner; const isCredentialUsedInWorkflow = this.workflowsStore.usedCredentials?.[selectedCredentials.id as string]; - if (!isCredentialUsedInWorkflow) { + if (!isCredentialUsedInWorkflow && !isInstanceOwner) { foundIssues[credentialTypeDescription.name] = [ this.$locale.baseText('nodeIssues.credentials.doNotExist', { interpolate: { name: selectedCredentials.name, type: credentialDisplayName },