mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Prevent moving non owned workflows to folders (#14474)
This commit is contained in:
committed by
GitHub
parent
aee83bf344
commit
2a5c3d4990
@@ -134,7 +134,12 @@ const actions = computed(() => {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (workflowPermissions.value.update && !props.readOnly && showFolders.value) {
|
if (
|
||||||
|
workflowPermissions.value.update &&
|
||||||
|
showFolders.value &&
|
||||||
|
!props.readOnly &&
|
||||||
|
!isSomeoneElsesWorkflow.value
|
||||||
|
) {
|
||||||
items.push({
|
items.push({
|
||||||
label: locale.baseText('folders.actions.moveToFolder'),
|
label: locale.baseText('folders.actions.moveToFolder'),
|
||||||
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE_TO_FOLDER,
|
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE_TO_FOLDER,
|
||||||
|
|||||||
Reference in New Issue
Block a user