@php $role_id = $role_id ?? null; $userPermissions = $permissions ?? []; @endphp