feat(rbac): add benefits and reception modules to RBAC matrix and register Recepcion role (v3.8.44)

This commit is contained in:
2026-10-28 07:19:16 -03:00
parent 1fc653dce8
commit aaf8281e86
12 changed files with 173 additions and 54 deletions
+24
View File
@@ -191,6 +191,30 @@
</div>
</a>
</div>
<!-- Recepción -->
{% if role_counts.recepcion is defined %}
<div class="col-6 col-md-4 col-xl">
<a href="/admin/users_list?role=Recepcion" class="text-decoration-none text-reset d-block h-100">
<div class="card border-0 shadow-sm h-100 p-3 transition-all {% if role_filter == 'Recepcion' or role_filter == 'recepcion' %}border-start border-secondary border-4 bg-secondary-subtle bg-opacity-25{% endif %}">
<div class="d-flex align-items-center justify-content-between mb-2">
<span class="text-muted small fw-semibold text-uppercase">Recepción</span>
<div class="bg-secondary bg-opacity-10 text-secondary rounded-circle p-2">
<i class="bi bi-qr-code-scan fs-5"></i>
</div>
</div>
<div class="d-flex align-items-baseline justify-content-between">
<h3 class="fw-bold mb-0 text-secondary">{{ role_counts.recepcion or 0 }}</h3>
<span class="badge bg-secondary-subtle text-secondary border border-secondary-subtle small">Control QR</span>
</div>
<div class="small text-muted mt-2 pt-2 border-top d-flex justify-content-between align-items-center">
<span>Acceso institucional</span>
<i class="bi bi-arrow-right"></i>
</div>
</div>
</a>
</div>
{% endif %}
</div>
<!-- Filters & Search -->