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. |
||
|---|---|---|
| .. | ||
| ArmaCommands.ts | ||
| ArmaSyncEvents.ts | ||
| GameServers.ts | ||
| MissionFiles.ts | ||
| ModLists.ts | ||
| RespawnTickets.ts | ||
| SupplyBoxes.ts | ||