Commit Graph

5 Commits (86b424fe8965423503beb6b99581b868f40bf21d)

Author SHA1 Message Date
Manuel Aranda Rosales 2b77eb8afa Corrected ou-operator bug 2026-07-29 00:02:36 +02:00
Nicolas Arenas 583e846b36 test(oggui): añadir tests unitarios de permisos por rol
- auth.service.spec.ts: tests para isSuperAdmin, isOUAdmin, isOUOperator,
  isOUMinimal, userCategory y getCurrentRole con tokens JWT sintéticos
- role.guard.spec.ts: matriz completa 26 rutas × 4 roles, verifica
  redirección a /groups cuando el acceso está bloqueado
- sidebar.component.spec.ts: verifica ítems visibles por rol
  (ou-operator/minimal ven solo /groups; admins ven los 9 ítems)
- ogboot-status.component.spec.ts: corrige import incorrecto
  OgbootStatusComponent → GlobalOgbootStatusComponent
2026-06-16 10:46:36 +02:00
Alvaro Puente Mella b5f72b87e8 Test files unification 2024-10-03 18:45:50 +02:00
Alvaro Puente Mella f2cbb90de5 refs #798 Added some testing 2024-09-30 22:19:07 +02:00
Alvaro Puente Mella 151808fd29 Folders new structure 2024-08-27 14:46:56 +02:00