Andras Bacsai
5019c8db92
fix(api): use explicit team ID for S3 storage lookup in backup endpoints
...
Replace `ownedByCurrentTeam()` (session-based) with `ownedByCurrentTeamAPI($teamId)`
(explicit team ID) when resolving S3 storage in create_backup and update_backup.
Session-based team resolution is unreliable in API context where auth is token-based.
Add `S3Storage::ownedByCurrentTeamAPI(int $teamId)` scope and update feature tests
to use real model instances instead of Mockery mocks.
2026-04-19 15:26:47 +02:00
..
2026-04-19 12:52:23 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2025-10-11 11:16:28 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-03-30 13:35:35 +02:00
2026-03-29 21:25:41 +02:00
2026-03-31 13:51:06 +02:00
2026-03-31 10:52:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-03-29 21:25:41 +02:00
2026-03-29 21:25:41 +02:00
2026-03-29 21:25:41 +02:00
2025-06-18 14:29:46 +02:00
2026-03-16 21:27:10 +01:00
2026-03-31 13:51:06 +02:00
2026-03-31 13:45:31 +02:00
2026-03-29 21:25:41 +02:00
2026-04-19 15:26:47 +02:00
2026-04-03 11:33:21 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 14:44:45 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 11:07:52 +02:00
2026-03-29 21:25:41 +02:00
2026-03-31 13:45:31 +02:00
2026-04-19 11:55:12 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-03-31 13:45:31 +02:00
2026-04-19 11:55:12 +02:00
2026-03-31 13:45:31 +02:00
2026-04-15 15:12:29 +02:00
2025-09-25 11:33:32 +02:00
2026-03-29 21:25:41 +02:00
2026-04-09 14:51:52 +02:00
2025-08-12 10:07:11 +02:00
2025-11-25 15:35:01 +01:00