1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-09-20 15:14:03 +00:00
tenancy/src
lukinovec 0eb2cf18a4 Throw an exception in possibleTenantSymlinks if the disk is not tenant-aware
When a disk in url_override and root_override is absent from tenancy.filesystem.disks, FilesystemTenancyBootstrapper leaves its root unchanged, possibleTenantSymlinks allows creating a symlink for that unscoped disk (= a disk with a central root), which can expose shared files.

Fixed by throwing an exception in possibleTenantSymlinks saying that the disk should be tenant-aware (= included in the tenancy.filesystem.disks config).
2026-09-07 18:32:15 -07:00
..
Actions Cloning: improve type annotations, add cloneRoutes() for convenience 2025-11-10 02:16:57 +01:00
Bootstrappers Make DeleteTenantStorage delete the tenant storage directory regardless of suffix_storage_path 2026-09-07 18:32:15 -07:00
Commands Laravel 13.24 support (fix #1474) (#1476) 2026-08-04 20:49:48 -07:00
Concerns Throw an exception in possibleTenantSymlinks if the disk is not tenant-aware 2026-09-07 18:32:15 -07:00
Contracts Features refactor 2025-08-31 23:18:44 +02:00
Controllers Require a directory boundary when checking that an asset is inside the asset root 2026-09-07 18:32:15 -07:00
Database Parameter validation and other DB manager improvements (#1459) 2026-06-27 19:51:30 -07:00
Enums Make RouteMode enum backed (#1362) 2025-06-02 20:34:49 +02:00
Events Pending tenants refactor (BC break) 2025-08-25 00:01:02 +02:00
Exceptions remove ignition dependencies 2025-06-18 23:29:24 +02:00
Facades [4.x] Support database cache store tenancy (#1290) (resolve #852) 2025-08-08 00:54:01 +02:00
Features phpstan fixes 2026-06-30 19:33:30 -07:00
Jobs Restore the central storage directory check in DeleteTenantStorage 2026-09-07 18:32:15 -07:00
Listeners Change tenant storage listeners into jobs (#1446) 2026-04-22 16:45:54 +02:00
Middleware Remove redundant universal route check from PreventAccess MW (#1427) 2026-05-12 23:59:21 +02:00
Overrides [MINOR BC] BroadcastingConfigBootstrapper rewrite, bugfixes (#1448) 2026-07-23 00:26:04 -07:00
Resolvers Correct DomainTenantResolver::isSubdomain() check (#1425) 2026-05-11 14:26:06 +02:00
ResourceSyncing Fix duplicate entry error when updating TenantPivot columns (#1469) 2026-07-07 18:56:34 -07:00
RLS [4.x] TableRLSManager refactor, comment constraints (#1354) 2025-07-03 21:12:04 +02:00
UniqueIdentifierGenerators Add UUIDv7Generator 2025-11-04 15:45:48 +01:00
helpers.php phpstan fixes 2026-06-30 19:33:30 -07:00
Tenancy.php [4.x] Add Tenancy::reinitialize() method (#1449) 2026-04-08 19:21:43 +02:00
TenancyServiceProvider.php Laravel 13.24 support (fix #1474) (#1476) 2026-08-04 20:49:48 -07:00