user(); if (! $user instanceof User) { return; } $user->tenants()->syncWithoutDetaching([ $this->record->getKey() => ['role' => TenantRole::Owner->value], ]); } }