Running the Patched PHP 8.3.36 on Ubuntu 20.04 Servers With Docker
PHP fixed the two critical vulnerabilities CVE-2026-109618 and CVE-2026-109619 on October 21, 2026, in PHP 8.3.36 and the matching 8.2.35, 8.4.27 and…
When using Laravel Jetstream with teams, you might want to prevent users from creating new teams while still allowing them to be members of multiple teams through invitations. Here's how to implement this pattern.
Modify the create method in app/Policies/TeamPolicy.php:
public function create(User $user): bool
{
// Only allow team creation if the user has no teams
// This effectively limits users to their initial personal team
return $user->allTeams()->count() === 0;
}
This change will:
When a user registers, Jetstream automatically creates their personal team. With our TeamPolicy modification:
v-if="$page.props.jetstream.canCreateTeams" checks/teams/create will return a 403 Forbidden responseGive Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.
Take a look at vroni.com