<div th:fragment="configuration" th:remove="tag">
    <li class="nav-item">
        <a class="nav-link menu-link" href="#configurationMenu" data-bs-toggle="collapse" role="button"
           aria-expanded="false" aria-controls="configurationMenu">
            <i class="ri-tools-line"></i>
            <span data-key="t-menu-config">Configuración</span>
        </a>
        <div class="collapse menu-dropdown" id="configurationMenu">
            <ul class="nav nav-sm flex-column">
                <li class="nav-item" sec:authorize="hasAuthority('USERS:VIEW')">
                    <a href="/configuration/users" class="nav-link" data-key="t-menu-config-usuarios">
                        Usuarios
                    </a>
                </li>
                <li class="nav-item" sec:authorize="hasAuthority('PRINTERS:VIEW')">
                    <a href="/configuration/printers" class="nav-link" data-key="t-menu-config-impresoras">
                        Impresoras
                    </a>
                </li>
                <li class="nav-item" sec:authorize="hasAuthority('CUSTOMERS:VIEW')">
                    <a href="/configuration/customers" class="nav-link" data-key="t-menu-config-clientes">
                        Clientes
                    </a>
                </li>
                <!-- Añadir más secciones según los permisos -->
            </ul>
        </div>
    </li>
</div>
