feat(core, editor): introduce workflow caller policy (#4368)
* ✨ Create env `N8N_WORKFLOW_CALLER_POLICY_DEFAULT_OPTION` * 👕 Adjust BE settings interface * 👕 Adjust FE settings interface * ⚡ Send policy along with settings * ⚡ Enforce policy * ✨ Create `SubworkflowOperationError` * ⚡ Add policy to Vuex store * ⚡ Add setting to FE * ⚡ Trim caller IDs on BE * ⚡ Hide new UI behind `isWorkflowSharingEnabled` * ✏️ Copy updates * 👕 Fix lint
This commit is contained in:
@@ -185,6 +185,12 @@ export const schema = {
|
||||
default: false,
|
||||
env: 'N8N_ONBOARDING_FLOW_DISABLED',
|
||||
},
|
||||
callerPolicyDefaultOption: {
|
||||
doc: 'Default option for which workflows may call the current workflow',
|
||||
format: ['any', 'none', 'workflowsFromAList'] as const,
|
||||
default: 'any',
|
||||
env: 'N8N_WORKFLOW_CALLER_POLICY_DEFAULT_OPTION',
|
||||
},
|
||||
},
|
||||
|
||||
executions: {
|
||||
|
||||
Reference in New Issue
Block a user