consultoria-as
a37e60eb2a
CI / lint-and-test (3.11) (push) Has been cancelled
CI / lint-and-test (3.13) (push) Has been cancelled
fix(auth): restringe workshop/mecanico solo por servidor y cookie
...
- Elimina el script inline que redirigia a todos los usuarios.
- auth_bp.py: la respuesta de login ahora setea cookie pos_role.
- app.py: before_request redirige a /pos/workshop solo cuando la cookie
indica rol workshop/mechanic (no depende de JS cacheado).
- login.js/login.min.js/app-init.js: sincronizan/limpian la cookie pos_role
junto con el token en login y logout.
Tests: 35 passed
2026-06-30 16:57:11 +00:00
..
2026-03-31 01:21:52 +00:00
2026-06-29 23:54:58 +00:00
2026-06-30 16:57:11 +00:00
2026-04-29 06:31:03 +00:00
2026-04-04 08:05:11 +00:00
2026-06-15 18:24:58 +00:00
2026-04-05 04:18:37 +00:00
2026-06-30 16:36:38 +00:00
2026-04-27 05:23:30 +00:00
2026-06-30 08:20:04 +00:00
2026-06-29 23:54:58 +00:00
2026-04-05 04:24:19 +00:00
2026-06-09 07:47:42 +00:00
2026-04-29 06:31:03 +00:00
2026-06-29 23:54:58 +00:00
2026-04-27 05:23:30 +00:00
2026-05-18 04:52:56 +00:00
2026-06-11 08:59:56 +00:00
2026-06-29 23:54:58 +00:00
2026-04-27 05:23:30 +00:00
2026-05-26 04:24:07 +00:00
2026-06-29 23:54:58 +00:00
2026-04-27 05:23:30 +00:00
2026-04-18 05:35:53 +00:00
2026-06-30 08:20:04 +00:00
2026-04-27 05:23:30 +00:00
2026-05-06 20:27:14 +00:00
2026-04-27 05:23:30 +00:00
2026-06-29 23:54:58 +00:00
2026-04-27 05:23:30 +00:00
2026-06-11 08:59:56 +00:00
2026-06-09 07:47:42 +00:00
2026-06-29 23:54:58 +00:00
2026-04-27 05:23:30 +00:00
2026-05-28 00:21:52 +00:00
2026-04-29 06:31:03 +00:00