fix(editor): Prevent moving non owned workflows to folders (#14474)

This commit is contained in:
Milorad FIlipović
2025-04-09 08:58:13 +02:00
committed by GitHub
parent aee83bf344
commit 2a5c3d4990

View File

@@ -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({
label: locale.baseText('folders.actions.moveToFolder'),
value: WORKFLOW_LIST_ITEM_ACTIONS.MOVE_TO_FOLDER,