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