security: round 2 — multi-tenancy isolation (OrganisationScope, scoped validation, boundary checks)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 06:38:19 +02:00
parent 1028498705
commit 090d2b7d89
40 changed files with 603 additions and 64 deletions

View File

@@ -550,9 +550,9 @@ class FestivalEventTest extends TestCase
'allow_overlap' => false,
]);
// Create a person
// Create a person (on festival level, per schema design)
$person = Person::factory()->create([
'event_id' => $this->subEvent->id,
'event_id' => $this->festival->id,
'crowd_type_id' => $this->crowdType->id,
]);