Box and web download of Tower deposits
Overview
IP MagicBox and the web app can download a file Tower stored, without copying storage secrets to BCYIP.
How it works
POST /api/v1/files/presign accepts the Box/web Bearer token, asks neo once for document access (and companyId), checks that company against Tower activation, Heads the object with Tower credentials, and returns a short-lived GET URL. A disposable web token is only used on that single neo call.
Key files
src/protocol/files/files.service.ts— presign flow, one neo call, company matchsrc/protocol/files/files.controller.ts/files.module.ts— routesrc/protocol/files/bcyip-user.guard.ts— activation required, no/usersrc/protocol/bcyip/api.ts—fetchAccessibleDocumentsrc/protocol/storage/*— Head + sign per storage typesrc/protocol/utils/deposit-fields.ts— resolve download object keys
Known issues
- None recorded in the 3.2.0 fragment.
Next steps
- None from this release.