Commit Graph

31 Commits

Author SHA1 Message Date
Urtzi Alfaro
6a0e02ff95 Fix Demo enterprise: map 'demo-user' to actual owner ID
When the frontend requests tenants with user_id='demo-user' in demo mode,
the backend now correctly maps this to the actual demo owner ID from the
current_user context (set by the gateway middleware).

This fixes the issue where the tenant list API was returning empty results
even though it returned 200 OK, because it was looking for a user with
id='demo-user' which doesn't exist in the database.

The actual user IDs are:
- Professional: c1a2b3c4-d5e6-47a8-b9c0-d1e2f3a4b5c6 (María García López)
- Enterprise: d2e3f4a5-b6c7-48d9-e0f1-a2b3c4d5e6f7 (Director)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 15:58:28 +01:00
Urtzi Alfaro
667e6e0404 New alert service 2025-12-05 20:07:01 +01:00
Urtzi Alfaro
394ad3aea4 Improve AI logic 2025-11-05 13:34:56 +01:00
Urtzi Alfaro
269d3b5032 Add user delete process 2025-10-31 11:54:19 +01:00
Urtzi Alfaro
07c33fa578 Improve the frontend and repository layer 2025-10-23 07:44:54 +02:00
Urtzi Alfaro
8f9e9a7edc Add role-based filtering and imporve code 2025-10-15 16:12:49 +02:00
Urtzi Alfaro
38fb98bc27 REFACTOR ALL APIs 2025-10-06 15:27:01 +02:00
Urtzi Alfaro
7cc4b957a5 Fix DB issue 2s 2025-09-30 21:58:10 +02:00
Urtzi Alfaro
4ae8e14e55 Add improved production UI 2025-09-23 12:49:35 +02:00
Urtzi Alfaro
29065f5337 Improve the production frontend 3 2025-09-21 11:57:03 +02:00
Urtzi Alfaro
96da9ca077 Fix team page 2025-09-12 23:58:26 +02:00
Urtzi Alfaro
4c21a5e1b2 Fix getting tennat 2025-09-12 19:31:24 +02:00
Urtzi Alfaro
5269a083b6 Imporve the role based forntend protected roles 2025-09-09 07:32:59 +02:00
Urtzi Alfaro
109961ef6e Fix issues 2025-08-17 10:28:58 +02:00
Urtzi Alfaro
399ba80067 Fix new services implementation 7 2025-08-15 22:40:19 +02:00
Urtzi Alfaro
488bb3ef93 REFACTOR - Database logic 2025-08-08 09:08:41 +02:00
Urtzi Alfaro
b0d83720fd Fix user delete flow 12 2025-08-03 14:42:33 +02:00
Urtzi Alfaro
abe74f32f8 Fix user delete flow 9 2025-08-02 23:29:18 +02:00
Urtzi Alfaro
826df76029 Fix user delete flow 8 2025-08-02 23:05:18 +02:00
Urtzi Alfaro
885b211809 Fix user delete flow 7 2025-08-02 22:36:02 +02:00
Urtzi Alfaro
63151c9bd4 Fix user delete flow 5 2025-08-02 19:09:43 +02:00
Urtzi Alfaro
8d1b7c1efb Fix user delete flow 4 2025-08-02 18:38:14 +02:00
Urtzi Alfaro
eedbc2401e Fix user delete flow 3 2025-08-02 18:18:05 +02:00
Urtzi Alfaro
3681429e11 Improve user delete flow 2025-08-02 17:09:53 +02:00
Urtzi Alfaro
277e8bec73 Add user role 2025-08-02 09:41:50 +02:00
Urtzi Alfaro
ef62f05031 Improve training test 2 2025-07-29 12:01:56 +02:00
Urtzi Alfaro
e4885db828 REFACTOR API gateway 2025-07-26 18:46:52 +02:00
Urtzi Alfaro
d029630c8e Fix tenant service 2025-07-21 20:48:41 +02:00
Urtzi Alfaro
2d85dd3e9e Imporve gateway auth for all services 2025-07-21 14:41:33 +02:00
Urtzi Alfaro
38e78e7163 Fix tenant register 2025-07-20 23:15:57 +02:00
Urtzi Alfaro
abc8b68ab4 Improve auth flow 2025-07-19 17:49:03 +02:00