laravel-files/tests
Fabian @ Blax Software 20b1c91e6e feat(access): serve-time file access control middleware
Add an opt-in FileAccessControl middleware that resolves the warehouse file
and enforces File::canBeAccessedBy() (default public, so existing consumers
are unaffected) when files.access_control.enabled is set. Resolution is
delegated to a configurable files.warehouse.resolver (ResolvesWarehouseFiles)
and the resolved file is stashed on the request so the controller reuses it.
Exposed as the `files.access` route-middleware alias and auto-attached to the
package warehouse route. Adds the FileAccessControl unit suite.
2026-06-23 11:08:28 +02:00
..
Unit feat(access): serve-time file access control middleware 2026-06-23 11:08:28 +02:00
TestCase.php fix(tests): test against real shipped migrations; harden warehouse asset lookup 2026-06-07 11:37:48 +02:00