fix(files,test): probe requires organize.execute; rename duplicate E6 to E10; trash approval replay test

- POST /files/probe writes media_asset.media_info, so scope organize.read -> organize.execute
- e2e e6-w4a-endpoints -> e10-w4a-endpoints (number clashed with e6-auto-recover)
- trash: reusing a consumed approval / retired planId is rejected and the file stays

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 00:50:29 +08:00
1 parent 2e3c2098fd
commit d3de2c8971
3 files changed
+10 -5

No files matched your search

+2 -2
View File
@@ -1173,8 +1173,8 @@ export const Api = {
probe: ep({
method: "post",
path: "/files/probe",
scope: "organize.read",
summary: "ffprobe 摘要(≤20 项;已登记资产写回 media_info)",
scope: "organize.execute",
summary: "ffprobe 摘要(≤20 项;已登记资产写回 media_info,所以要 organize.execute)",
body: files.FilesProbeRequest,
response: files.FilesProbeResult,
}),