The file-serving route (/api/mod-lists/file/<name>) runs the collection read access with isReadingStaticFile: true, but mod-lists required the mod-lists:read permission, so anyone clicking a shared download link got 403 until they signed in. Gate the read access on isReadingStaticFile: the file-serving path serves the preset to anyone with the link, while REST and admin-panel reads keep the mod-lists:read gate. Documented in src/collections/AGENTS.md and covered by an integration test. |
||
|---|---|---|
| .. | ||
| audit | ||
| e2e | ||
| fixtures | ||
| helpers | ||
| int | ||
| push-schema.ts | ||
| seed-baseline.ts | ||
| test-db.ts | ||
| vitest-global.ts | ||
| vitest-marker.ts | ||
| vitest-reporter.ts | ||
| vitest-teardown.ts | ||
| vitest-worker-setup.ts | ||