@php $acl = $node['__acl'] ?? []; $children = $node['__children'] ?? []; $hasChildren = !empty($children); $secuGroups = array_filter($acl, fn($e) => str_starts_with($e->principal, 'SECU-')); $directUsers = array_filter($acl, fn($e) => !str_starts_with($e->principal, 'SECU-') && !$e->est_herite); @endphp
| Principal | Type | Droits | Hérité |
|---|---|---|---|
| {{ $entry->principal }} @if($entry->email) {{ $entry->email }} @endif | {{ $entry->type ?? '—' }} | {{ $entry->droits }} | {{ $entry->est_herite ? 'Oui' : 'Non' }} |