© 2026 Hedgehog Software, LLC
public function view(User $user, Model $model): bool { return $user->hasRole(Roles::SUPER_ADMIN) || (Filament::getTenant()->id === $user->tenant_id && $user->model->id == $model->id); }
/broadcasting/auth
$user->can('view', Model::find($id));