Complete private legacy article editing and previews in QA

This commit is contained in:
2026-10-22 23:36:07 +02:00
parent bc93ccdb9e
commit fb4e7d8970
20 changed files with 1430 additions and 146 deletions
@@ -50,6 +50,11 @@ class DocumentManagementAccess
->where('d.external_id', $item['external_id']);
});
}
foreach (json_decode(file_get_contents(config_path('legacy_editorial_resources.json')), true, 512, JSON_THROW_ON_ERROR) as $item) {
// These exact original bytes contain the legacy identity/source.
// Destination upload IDs differ; the approved file scope does not.
$query->orWhere('d.sha256', $item['sha256']);
}
});
}