@pegasimed.com/pegasi-sail-connect-shared 0.1.0-dev.2 → 0.2.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +232 -73
  2. package/dist/authorization/index.d.ts +3 -0
  3. package/dist/authorization/index.d.ts.map +1 -0
  4. package/dist/authorization/index.js +3 -0
  5. package/dist/authorization/index.js.map +1 -0
  6. package/dist/authorization/internal-authorization.d.ts +105 -0
  7. package/dist/authorization/internal-authorization.d.ts.map +1 -0
  8. package/dist/authorization/internal-authorization.js +287 -0
  9. package/dist/authorization/internal-authorization.js.map +1 -0
  10. package/dist/capabilities/catalog-data.d.ts +283 -867
  11. package/dist/capabilities/catalog-data.d.ts.map +1 -1
  12. package/dist/capabilities/catalog-data.js +294 -898
  13. package/dist/capabilities/catalog-data.js.map +1 -1
  14. package/dist/capabilities/catalog.d.ts +17 -20
  15. package/dist/capabilities/catalog.d.ts.map +1 -1
  16. package/dist/capabilities/catalog.js +34 -13
  17. package/dist/capabilities/catalog.js.map +1 -1
  18. package/dist/capabilities/list.d.ts +25 -3
  19. package/dist/capabilities/list.d.ts.map +1 -1
  20. package/dist/capabilities/list.js +39 -5
  21. package/dist/capabilities/list.js.map +1 -1
  22. package/dist/capabilities/match.d.ts +13 -14
  23. package/dist/capabilities/match.d.ts.map +1 -1
  24. package/dist/capabilities/match.js +25 -38
  25. package/dist/capabilities/match.js.map +1 -1
  26. package/dist/capabilities/migration-data.d.ts +157 -97
  27. package/dist/capabilities/migration-data.d.ts.map +1 -1
  28. package/dist/capabilities/migration-data.js +160 -93
  29. package/dist/capabilities/migration-data.js.map +1 -1
  30. package/dist/capabilities/migration.d.ts +52 -28
  31. package/dist/capabilities/migration.d.ts.map +1 -1
  32. package/dist/capabilities/migration.js +36 -70
  33. package/dist/capabilities/migration.js.map +1 -1
  34. package/dist/capabilities/types.d.ts +26 -10
  35. package/dist/capabilities/types.d.ts.map +1 -1
  36. package/dist/capabilities/validate.d.ts +4 -2
  37. package/dist/capabilities/validate.d.ts.map +1 -1
  38. package/dist/capabilities/validate.js +32 -78
  39. package/dist/capabilities/validate.js.map +1 -1
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.js +1 -0
  43. package/dist/index.js.map +1 -1
  44. package/package.json +6 -2
  45. package/scripts/check-service-keys.mjs +46 -9
@@ -38,14 +38,16 @@
38
38
  // pegasi-sail-connect-treasury-api: 15acea8ed7078d37f5165af7256b73a4ff41cffc
39
39
  // pegasi-sail-reference-data-api: 1318a4d223f6d8ffc6569af0dfde2873bf3e8295
40
40
  /** Equal to the package version the catalog was generated for. */
41
- export const CAPABILITY_CATALOG_VERSION = "0.1.0-dev.2";
41
+ export const CAPABILITY_CATALOG_VERSION = "0.2.0-dev.1";
42
42
  export const CAPABILITY_GRAMMAR = {
43
43
  segments: 3,
44
44
  segmentPattern: "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
45
45
  defaultResource: "domain",
46
46
  baseActions: ["read", "write", "delete"],
47
47
  specialActions: ["execute", "approve", "assign", "claim", "complete", "moderate", "issue", "revoke", "allocate", "void", "download"],
48
- scopeSuffix: "-any"
48
+ scopeSuffix: "-any",
49
+ // No wildcard segment exists: every grant is an explicit catalog key.
50
+ wildcardSegment: null
49
51
  };
50
52
  export const CAPABILITY_SERVICES = [
51
53
  "access",
@@ -92,7 +94,6 @@ export const CAPABILITY_CATALOG_DATA = [
92
94
  products: ["connect", "sail"],
93
95
  tenantAssignable: false,
94
96
  kind: "operation",
95
- exactMatch: true,
96
97
  serviceToService: false,
97
98
  roleDefaults: []
98
99
  },
@@ -106,13 +107,12 @@ export const CAPABILITY_CATALOG_DATA = [
106
107
  groupKey: "access",
107
108
  groupDisplayName: "access",
108
109
  order: 2,
109
- products: [],
110
+ products: ["connect", "sail"],
110
111
  tenantAssignable: false,
111
112
  kind: "operation",
112
- exactMatch: true,
113
113
  serviceToService: false,
114
114
  roleDefaults: [],
115
- notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable."
115
+ notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect (administra licencias o consumo de las dos familias; commercial-core-api src/seed-auth.ts:204-210, access-api src/commercial-snapshot-routes.ts:167-168, communications-api src/campaign-communication.ts:274); no hay listas de productos vacías."
116
116
  },
117
117
  {
118
118
  key: "access:platform-permissions:write",
@@ -127,7 +127,6 @@ export const CAPABILITY_CATALOG_DATA = [
127
127
  products: ["connect", "sail"],
128
128
  tenantAssignable: false,
129
129
  kind: "operation",
130
- exactMatch: true,
131
130
  serviceToService: false,
132
131
  roleDefaults: []
133
132
  },
@@ -144,10 +143,9 @@ export const CAPABILITY_CATALOG_DATA = [
144
143
  products: ["connect", "sail"],
145
144
  tenantAssignable: true,
146
145
  kind: "operation",
147
- exactMatch: false,
148
146
  serviceToService: false,
149
147
  roleDefaults: [],
150
- notes: "Entrada añadida fuera del mapa en la corrección H2 de la revisión interna (2026-09-29): capacidad estrecha del alta de profesionales (access-api src/practitioner-user-routes.ts:203-219), que aceptaba access-api:write, users:write y users.admin (y access-api:* por prefijo) junto con clinical-organization:write, pero no access-api:users:write. Productos sail y connect según la puerta de producto de esa ruta (practitioner-user-routes.ts:204). No es exactMatch: el contrato de clinical-organization emite profesionales con users:write."
148
+ notes: "Entrada añadida fuera del mapa en la corrección H2 de la revisión interna (2026-09-29): capacidad estrecha del alta de profesionales (access-api src/practitioner-user-routes.ts:203-219), que aceptaba access-api:write, users:write y users.admin (y access-api:* por prefijo) junto con clinical-organization:write, pero no access-api:users:write. Productos sail y connect según la puerta de producto de esa ruta (practitioner-user-routes.ts:204). El contrato de clinical-organization emite profesionales con users:write."
151
149
  },
152
150
  {
153
151
  key: "access:settings:read",
@@ -162,7 +160,6 @@ export const CAPABILITY_CATALOG_DATA = [
162
160
  products: ["connect", "sail"],
163
161
  tenantAssignable: false,
164
162
  kind: "operation",
165
- exactMatch: false,
166
163
  serviceToService: false,
167
164
  roleDefaults: [],
168
165
  notes: "Decisión pendiente del mapa (access-api:settings:read) resuelta: decisión del propietario 2026-09-29 (Global Settings pasa a tenantProfile, Access PR #87): access:settings:read vuelve al catálogo como clave de plataforma, no asignable a tenant, y access-api:settings:read migra a ella. Decisión del propietario 2026-09-29 (Global Settings pasa a tenantProfile, Access PR #87): clave del catálogo de plataforma, reservada a PEGASI y no asignable a tenant; productos sail y connect como las demás claves de settings. Metadatos curados (CURATED_METADATA): access-api src/settings-domain.ts:587-590 (origin/dev: la lectura de la propia licencia no exige clave) y 591-592 (otra licencia: access-api:settings:read:any exacta); rama del PR #87, commit ef7b9cd, tenant-profile-domain.ts:205-206 y 659-664 (canReadTenantProfileAudit: access-api:settings:read, o read:any exacta, para ver la auditoría del perfil; 216-217 y 701-706 en la punta 6b06e90)."
@@ -173,14 +170,13 @@ export const CAPABILITY_CATALOG_DATA = [
173
170
  resource: "settings",
174
171
  action: "read-any",
175
172
  displayName: "Leer · settings (cualquier alcance)",
176
- description: "Permite leer los ajustes de cualquier licencia. Coincidencia literal exacta: ningún comodín la satisface. Reservada a PEGASI: no asignable a tenant. Claves anteriores: access-api:settings:read:any.",
173
+ description: "Permite leer los ajustes de cualquier licencia. Solo la concede un grant explícito de esta clave. Reservada a PEGASI: no asignable a tenant. Claves anteriores: access-api:settings:read:any.",
177
174
  groupKey: "access",
178
175
  groupDisplayName: "Configuración de la plataforma",
179
176
  order: 6,
180
177
  products: ["connect", "sail"],
181
178
  tenantAssignable: false,
182
179
  kind: "operation",
183
- exactMatch: true,
184
180
  serviceToService: false,
185
181
  roleDefaults: [],
186
182
  notes: "Metadatos curados (CURATED_METADATA): access-api src/settings-domain.ts:587-596 (read:any y write:any por includes exacto entre licencias) y 598-604 (escritura de ajustes por includes exacto); Global Settings pasa a tenantProfile en el PR #87."
@@ -198,7 +194,6 @@ export const CAPABILITY_CATALOG_DATA = [
198
194
  products: ["connect", "sail"],
199
195
  tenantAssignable: false,
200
196
  kind: "operation",
201
- exactMatch: false,
202
197
  serviceToService: false,
203
198
  roleDefaults: [],
204
199
  notes: "Decisión del propietario 2026-09-29 (Global Settings pasa a tenantProfile, Access PR #87): clave del catálogo de plataforma, reservada a PEGASI y no asignable a tenant; productos sail y connect como las demás claves de settings. Solo la recibe access-api:settings:write: global-settings:write y clinical-settings:write migran a access:tenant-profile:write. Metadatos curados (CURATED_METADATA): access-api src/settings-domain.ts:587-596 (read:any y write:any por includes exacto entre licencias) y 598-604 (escritura de ajustes por includes exacto); Global Settings pasa a tenantProfile en el PR #87; access-api src/tenant-profile-domain.ts:229-236 (origin/dev, includes exacto de tenant-profile:write o access-api:settings:write) y la rama del PR #87 (feature/tenant-profile-integral-settings ef7b9cd): tenant-profile-domain.ts:201-204 y 1021-1055, donde solo locale.country y active exigen access-api:settings:write (o write:any exacta)."
@@ -209,14 +204,13 @@ export const CAPABILITY_CATALOG_DATA = [
209
204
  resource: "settings",
210
205
  action: "write-any",
211
206
  displayName: "Escribir · settings (cualquier alcance)",
212
- description: "Permite cambiar los ajustes de cualquier licencia. Coincidencia literal exacta: ningún comodín la satisface. Reservada a PEGASI: no asignable a tenant. Claves anteriores: access-api:settings:write:any.",
207
+ description: "Permite cambiar los ajustes de cualquier licencia. Solo la concede un grant explícito de esta clave. Reservada a PEGASI: no asignable a tenant. Claves anteriores: access-api:settings:write:any.",
213
208
  groupKey: "access",
214
209
  groupDisplayName: "Configuración de la plataforma",
215
210
  order: 8,
216
211
  products: ["connect", "sail"],
217
212
  tenantAssignable: false,
218
213
  kind: "operation",
219
- exactMatch: true,
220
214
  serviceToService: false,
221
215
  roleDefaults: [],
222
216
  notes: "Metadatos curados (CURATED_METADATA): access-api src/settings-domain.ts:587-596 (read:any y write:any por includes exacto entre licencias) y 598-604 (escritura de ajustes por includes exacto); Global Settings pasa a tenantProfile en el PR #87."
@@ -234,7 +228,6 @@ export const CAPABILITY_CATALOG_DATA = [
234
228
  products: ["connect", "sail"],
235
229
  tenantAssignable: true,
236
230
  kind: "operation",
237
- exactMatch: false,
238
231
  serviceToService: false,
239
232
  roleDefaults: [],
240
233
  notes: "Colisión (clinical-settings:write: connect, sail, tenantAssignable true; global-settings:write: connect, sail, tenantAssignable true; tenant-profile:write: connect, sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Producto sin decidir en el mapa para clinical-settings:write, global-settings:write. Decisión del propietario 2026-09-29 (Global Settings pasa a tenantProfile, Access PR #87): clave final con la que el admin del tenant del cliente edita el perfil del tenant, salvo locale.country y active; productos sail y connect y asignable a tenant, sin cambios de flags. global-settings:write y clinical-settings:write migran a ella como único destino: los parámetros generales y clínicos viven en tenantProfile. Metadatos curados (CURATED_METADATA): access-api src/tenant-profile-domain.ts:229-236 (origin/dev, includes exacto de tenant-profile:write o access-api:settings:write) y la rama del PR #87 (feature/tenant-profile-integral-settings ef7b9cd): tenant-profile-domain.ts:201-204 y 1021-1055, donde solo locale.country y active exigen access-api:settings:write (o write:any exacta).",
@@ -253,7 +246,6 @@ export const CAPABILITY_CATALOG_DATA = [
253
246
  products: ["connect", "sail"],
254
247
  tenantAssignable: true,
255
248
  kind: "operation",
256
- exactMatch: false,
257
249
  serviceToService: false,
258
250
  roleDefaults: []
259
251
  },
@@ -270,7 +262,6 @@ export const CAPABILITY_CATALOG_DATA = [
270
262
  products: ["connect", "sail"],
271
263
  tenantAssignable: true,
272
264
  kind: "operation",
273
- exactMatch: false,
274
265
  serviceToService: false,
275
266
  roleDefaults: []
276
267
  },
@@ -280,14 +271,13 @@ export const CAPABILITY_CATALOG_DATA = [
280
271
  resource: "user",
281
272
  action: "write-any",
282
273
  displayName: "Escribir · user (cualquier alcance)",
283
- description: "Permite escribir el recurso user del servicio access en cualquier alcance (coincidencia exacta). Claves anteriores: access-api:users:any.",
274
+ description: "Permite escribir el recurso user del servicio access en cualquier alcance. Claves anteriores: access-api:users:any.",
284
275
  groupKey: "access",
285
276
  groupDisplayName: "access",
286
277
  order: 12,
287
278
  products: ["connect", "sail"],
288
279
  tenantAssignable: false,
289
280
  kind: "operation",
290
- exactMatch: true,
291
281
  serviceToService: false,
292
282
  roleDefaults: [],
293
283
  notes: "Decisión pendiente (access-api:users:any): hoy es marcador de alcance entre tenants sin verbo; confirmar que write-any lo representa."
@@ -305,7 +295,6 @@ export const CAPABILITY_CATALOG_DATA = [
305
295
  products: ["connect", "sail"],
306
296
  tenantAssignable: false,
307
297
  kind: "operation",
308
- exactMatch: true,
309
298
  serviceToService: false,
310
299
  roleDefaults: []
311
300
  },
@@ -322,7 +311,6 @@ export const CAPABILITY_CATALOG_DATA = [
322
311
  products: ["connect", "sail"],
323
312
  tenantAssignable: true,
324
313
  kind: "operation",
325
- exactMatch: false,
326
314
  serviceToService: false,
327
315
  roleDefaults: []
328
316
  },
@@ -339,7 +327,6 @@ export const CAPABILITY_CATALOG_DATA = [
339
327
  products: ["connect", "sail"],
340
328
  tenantAssignable: false,
341
329
  kind: "operation",
342
- exactMatch: true,
343
330
  serviceToService: false,
344
331
  roleDefaults: [],
345
332
  notes: "Entrada añadida fuera del mapa (corrección EXT-06 de la revisión externa): POST /users/:userId/memberships exige access-api:users:oidc con hasExactPermission (access-api src/user-routes.ts:1462-1486, línea 1484), mientras que las rutas OIDC ordinarias (2251, 2280, 2307) la aceptaban por prefijo. Separar las dos capacidades conserva las rutas OIDC para access-api:* sin ampliarle la de membresías: esta clave solo la recibe access-api:users:oidc. Productos de access-api:users:oidc en el mapa; no asignable a tenant (administración entre tenants, de plataforma)."
@@ -357,7 +344,6 @@ export const CAPABILITY_CATALOG_DATA = [
357
344
  products: ["connect", "sail"],
358
345
  tenantAssignable: false,
359
346
  kind: "operation",
360
- exactMatch: false,
361
347
  serviceToService: false,
362
348
  roleDefaults: []
363
349
  },
@@ -374,7 +360,6 @@ export const CAPABILITY_CATALOG_DATA = [
374
360
  products: ["connect", "sail"],
375
361
  tenantAssignable: true,
376
362
  kind: "operation",
377
- exactMatch: false,
378
363
  serviceToService: false,
379
364
  roleDefaults: []
380
365
  },
@@ -391,7 +376,6 @@ export const CAPABILITY_CATALOG_DATA = [
391
376
  products: ["connect", "sail"],
392
377
  tenantAssignable: false,
393
378
  kind: "operation",
394
- exactMatch: true,
395
379
  serviceToService: false,
396
380
  roleDefaults: []
397
381
  },
@@ -408,7 +392,6 @@ export const CAPABILITY_CATALOG_DATA = [
408
392
  products: ["connect", "sail"],
409
393
  tenantAssignable: true,
410
394
  kind: "operation",
411
- exactMatch: false,
412
395
  serviceToService: false,
413
396
  roleDefaults: []
414
397
  },
@@ -425,7 +408,6 @@ export const CAPABILITY_CATALOG_DATA = [
425
408
  products: ["sail"],
426
409
  tenantAssignable: true,
427
410
  kind: "operation",
428
- exactMatch: false,
429
411
  serviceToService: false,
430
412
  roleDefaults: []
431
413
  },
@@ -442,7 +424,6 @@ export const CAPABILITY_CATALOG_DATA = [
442
424
  products: ["sail"],
443
425
  tenantAssignable: true,
444
426
  kind: "operation",
445
- exactMatch: false,
446
427
  serviceToService: false,
447
428
  roleDefaults: []
448
429
  },
@@ -459,7 +440,6 @@ export const CAPABILITY_CATALOG_DATA = [
459
440
  products: ["sail"],
460
441
  tenantAssignable: true,
461
442
  kind: "operation",
462
- exactMatch: false,
463
443
  serviceToService: false,
464
444
  roleDefaults: []
465
445
  },
@@ -476,7 +456,6 @@ export const CAPABILITY_CATALOG_DATA = [
476
456
  products: ["sail"],
477
457
  tenantAssignable: true,
478
458
  kind: "operation",
479
- exactMatch: false,
480
459
  serviceToService: false,
481
460
  roleDefaults: []
482
461
  },
@@ -493,7 +472,6 @@ export const CAPABILITY_CATALOG_DATA = [
493
472
  products: ["sail"],
494
473
  tenantAssignable: true,
495
474
  kind: "operation",
496
- exactMatch: false,
497
475
  serviceToService: false,
498
476
  roleDefaults: []
499
477
  },
@@ -510,7 +488,6 @@ export const CAPABILITY_CATALOG_DATA = [
510
488
  products: ["sail"],
511
489
  tenantAssignable: true,
512
490
  kind: "operation",
513
- exactMatch: false,
514
491
  serviceToService: false,
515
492
  roleDefaults: []
516
493
  },
@@ -527,7 +504,6 @@ export const CAPABILITY_CATALOG_DATA = [
527
504
  products: ["sail"],
528
505
  tenantAssignable: true,
529
506
  kind: "operation",
530
- exactMatch: false,
531
507
  serviceToService: false,
532
508
  roleDefaults: []
533
509
  },
@@ -544,7 +520,6 @@ export const CAPABILITY_CATALOG_DATA = [
544
520
  products: ["sail"],
545
521
  tenantAssignable: true,
546
522
  kind: "operation",
547
- exactMatch: false,
548
523
  serviceToService: false,
549
524
  roleDefaults: []
550
525
  },
@@ -561,7 +536,6 @@ export const CAPABILITY_CATALOG_DATA = [
561
536
  products: ["sail"],
562
537
  tenantAssignable: true,
563
538
  kind: "operation",
564
- exactMatch: false,
565
539
  serviceToService: false,
566
540
  roleDefaults: []
567
541
  },
@@ -578,7 +552,6 @@ export const CAPABILITY_CATALOG_DATA = [
578
552
  products: ["connect", "sail"],
579
553
  tenantAssignable: true,
580
554
  kind: "operation",
581
- exactMatch: false,
582
555
  serviceToService: false,
583
556
  roleDefaults: [],
584
557
  notes: "Decisión del propietario 2026-09-29: el permiso va a las tres plataformas (SAIL, CONNECT y Platform Admin), cada una con su trail de auditoría independiente según los servicios que atiende. Platform Admin no es un valor de producto: sus administradores lo reciben por grants de plataforma explícitos."
@@ -596,7 +569,6 @@ export const CAPABILITY_CATALOG_DATA = [
596
569
  products: ["connect", "sail"],
597
570
  tenantAssignable: true,
598
571
  kind: "operation",
599
- exactMatch: false,
600
572
  serviceToService: false,
601
573
  roleDefaults: [],
602
574
  notes: "Decisión del propietario 2026-09-29: el permiso va a las tres plataformas (SAIL, CONNECT y Platform Admin), cada una con su trail de auditoría independiente según los servicios que atiende. Platform Admin no es un valor de producto: sus administradores lo reciben por grants de plataforma explícitos."
@@ -614,7 +586,6 @@ export const CAPABILITY_CATALOG_DATA = [
614
586
  products: ["sail"],
615
587
  tenantAssignable: true,
616
588
  kind: "operation",
617
- exactMatch: false,
618
589
  serviceToService: false,
619
590
  roleDefaults: []
620
591
  },
@@ -631,7 +602,6 @@ export const CAPABILITY_CATALOG_DATA = [
631
602
  products: ["sail"],
632
603
  tenantAssignable: true,
633
604
  kind: "operation",
634
- exactMatch: false,
635
605
  serviceToService: false,
636
606
  roleDefaults: []
637
607
  },
@@ -641,14 +611,13 @@ export const CAPABILITY_CATALOG_DATA = [
641
611
  resource: "domain",
642
612
  action: "claim-any",
643
613
  displayName: "Tomar · dominio (cualquier alcance)",
644
- description: "Permite tomar el dominio del servicio care-execution en cualquier alcance (coincidencia exacta). Claves anteriores: care-execution:claim:override.",
614
+ description: "Permite tomar el dominio del servicio care-execution en cualquier alcance. Claves anteriores: care-execution:claim:override.",
645
615
  groupKey: "care-execution",
646
616
  groupDisplayName: "care-execution",
647
617
  order: 33,
648
618
  products: ["sail"],
649
619
  tenantAssignable: false,
650
620
  kind: "operation",
651
- exactMatch: true,
652
621
  serviceToService: false,
653
622
  roleDefaults: []
654
623
  },
@@ -665,7 +634,6 @@ export const CAPABILITY_CATALOG_DATA = [
665
634
  products: ["sail"],
666
635
  tenantAssignable: true,
667
636
  kind: "operation",
668
- exactMatch: false,
669
637
  serviceToService: false,
670
638
  roleDefaults: []
671
639
  },
@@ -682,7 +650,6 @@ export const CAPABILITY_CATALOG_DATA = [
682
650
  products: ["sail"],
683
651
  tenantAssignable: true,
684
652
  kind: "operation",
685
- exactMatch: false,
686
653
  serviceToService: false,
687
654
  roleDefaults: []
688
655
  },
@@ -699,7 +666,6 @@ export const CAPABILITY_CATALOG_DATA = [
699
666
  products: ["sail"],
700
667
  tenantAssignable: true,
701
668
  kind: "operation",
702
- exactMatch: false,
703
669
  serviceToService: false,
704
670
  roleDefaults: []
705
671
  },
@@ -716,7 +682,6 @@ export const CAPABILITY_CATALOG_DATA = [
716
682
  products: ["sail"],
717
683
  tenantAssignable: true,
718
684
  kind: "operation",
719
- exactMatch: false,
720
685
  serviceToService: false,
721
686
  roleDefaults: []
722
687
  },
@@ -733,7 +698,6 @@ export const CAPABILITY_CATALOG_DATA = [
733
698
  products: ["sail"],
734
699
  tenantAssignable: true,
735
700
  kind: "operation",
736
- exactMatch: false,
737
701
  serviceToService: false,
738
702
  roleDefaults: []
739
703
  },
@@ -750,7 +714,6 @@ export const CAPABILITY_CATALOG_DATA = [
750
714
  products: ["sail"],
751
715
  tenantAssignable: true,
752
716
  kind: "operation",
753
- exactMatch: false,
754
717
  serviceToService: false,
755
718
  roleDefaults: []
756
719
  },
@@ -767,24 +730,6 @@ export const CAPABILITY_CATALOG_DATA = [
767
730
  products: ["sail"],
768
731
  tenantAssignable: true,
769
732
  kind: "operation",
770
- exactMatch: false,
771
- serviceToService: false,
772
- roleDefaults: []
773
- },
774
- {
775
- key: "care-execution:*:read",
776
- service: "care-execution",
777
- resource: "*",
778
- action: "read",
779
- displayName: "Leer · todos los recursos",
780
- description: "Grant comodín: satisface las claves de care-execution de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: care-execution:read.",
781
- groupKey: "care-execution",
782
- groupDisplayName: "care-execution",
783
- order: 41,
784
- products: ["sail"],
785
- tenantAssignable: true,
786
- kind: "grant-wildcard",
787
- exactMatch: false,
788
733
  serviceToService: false,
789
734
  roleDefaults: []
790
735
  },
@@ -797,11 +742,10 @@ export const CAPABILITY_CATALOG_DATA = [
797
742
  description: "Permite eliminar el dominio del servicio care-plan. Claves anteriores: care-plan:delete.",
798
743
  groupKey: "care-plan",
799
744
  groupDisplayName: "care-plan",
800
- order: 42,
745
+ order: 41,
801
746
  products: ["sail"],
802
747
  tenantAssignable: true,
803
748
  kind: "operation",
804
- exactMatch: false,
805
749
  serviceToService: false,
806
750
  roleDefaults: []
807
751
  },
@@ -814,11 +758,10 @@ export const CAPABILITY_CATALOG_DATA = [
814
758
  description: "Permite leer el dominio del servicio care-plan. Claves anteriores: care-plan:read.",
815
759
  groupKey: "care-plan",
816
760
  groupDisplayName: "care-plan",
817
- order: 43,
761
+ order: 42,
818
762
  products: ["sail"],
819
763
  tenantAssignable: true,
820
764
  kind: "operation",
821
- exactMatch: false,
822
765
  serviceToService: false,
823
766
  roleDefaults: []
824
767
  },
@@ -831,11 +774,10 @@ export const CAPABILITY_CATALOG_DATA = [
831
774
  description: "Permite escribir el dominio del servicio care-plan. Claves anteriores: care-plan:write.",
832
775
  groupKey: "care-plan",
833
776
  groupDisplayName: "care-plan",
834
- order: 44,
777
+ order: 43,
835
778
  products: ["sail"],
836
779
  tenantAssignable: true,
837
780
  kind: "operation",
838
- exactMatch: false,
839
781
  serviceToService: false,
840
782
  roleDefaults: []
841
783
  },
@@ -848,14 +790,13 @@ export const CAPABILITY_CATALOG_DATA = [
848
790
  description: "Permite escribir el recurso migration del servicio care-plan.",
849
791
  groupKey: "care-plan",
850
792
  groupDisplayName: "care-plan",
851
- order: 45,
793
+ order: 44,
852
794
  products: ["sail"],
853
795
  tenantAssignable: false,
854
796
  kind: "operation",
855
- exactMatch: true,
856
797
  serviceToService: true,
857
798
  roleDefaults: [],
858
- notes: "Servicio a servicio: exige identidad de servicio de migración (care-plan-api src/care-plan-routes.ts:594-598); exactMatch para que ningún comodín la satisfaga."
799
+ notes: "Servicio a servicio: exige identidad de servicio de migración (care-plan-api src/care-plan-routes.ts:594-598); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
859
800
  },
860
801
  {
861
802
  key: "care-plan:settings:read",
@@ -866,11 +807,10 @@ export const CAPABILITY_CATALOG_DATA = [
866
807
  description: "Permite leer el recurso settings del servicio care-plan.",
867
808
  groupKey: "care-plan",
868
809
  groupDisplayName: "care-plan",
869
- order: 46,
810
+ order: 45,
870
811
  products: ["sail"],
871
812
  tenantAssignable: true,
872
813
  kind: "operation",
873
- exactMatch: false,
874
814
  serviceToService: false,
875
815
  roleDefaults: []
876
816
  },
@@ -883,11 +823,10 @@ export const CAPABILITY_CATALOG_DATA = [
883
823
  description: "Permite escribir el recurso settings del servicio care-plan.",
884
824
  groupKey: "care-plan",
885
825
  groupDisplayName: "care-plan",
886
- order: 47,
826
+ order: 46,
887
827
  products: ["sail"],
888
828
  tenantAssignable: true,
889
829
  kind: "operation",
890
- exactMatch: false,
891
830
  serviceToService: false,
892
831
  roleDefaults: []
893
832
  },
@@ -900,11 +839,10 @@ export const CAPABILITY_CATALOG_DATA = [
900
839
  description: "Permite eliminar el recurso type del servicio care-plan. Claves anteriores: care-plan-type:delete.",
901
840
  groupKey: "care-plan",
902
841
  groupDisplayName: "care-plan",
903
- order: 48,
842
+ order: 47,
904
843
  products: ["sail"],
905
844
  tenantAssignable: true,
906
845
  kind: "operation",
907
- exactMatch: false,
908
846
  serviceToService: false,
909
847
  roleDefaults: []
910
848
  },
@@ -917,11 +855,10 @@ export const CAPABILITY_CATALOG_DATA = [
917
855
  description: "Permite leer el recurso type del servicio care-plan. Claves anteriores: care-plan-type:read.",
918
856
  groupKey: "care-plan",
919
857
  groupDisplayName: "care-plan",
920
- order: 49,
858
+ order: 48,
921
859
  products: ["sail"],
922
860
  tenantAssignable: true,
923
861
  kind: "operation",
924
- exactMatch: false,
925
862
  serviceToService: false,
926
863
  roleDefaults: []
927
864
  },
@@ -934,11 +871,10 @@ export const CAPABILITY_CATALOG_DATA = [
934
871
  description: "Permite escribir el recurso type del servicio care-plan. Claves anteriores: care-plan-type:write.",
935
872
  groupKey: "care-plan",
936
873
  groupDisplayName: "care-plan",
937
- order: 50,
874
+ order: 49,
938
875
  products: ["sail"],
939
876
  tenantAssignable: true,
940
877
  kind: "operation",
941
- exactMatch: false,
942
878
  serviceToService: false,
943
879
  roleDefaults: []
944
880
  },
@@ -951,11 +887,10 @@ export const CAPABILITY_CATALOG_DATA = [
951
887
  description: "Permite eliminar el dominio del servicio cases. Claves anteriores: cases:delete.",
952
888
  groupKey: "cases",
953
889
  groupDisplayName: "cases",
954
- order: 51,
890
+ order: 50,
955
891
  products: ["sail"],
956
892
  tenantAssignable: true,
957
893
  kind: "operation",
958
- exactMatch: false,
959
894
  serviceToService: false,
960
895
  roleDefaults: []
961
896
  },
@@ -968,11 +903,10 @@ export const CAPABILITY_CATALOG_DATA = [
968
903
  description: "Permite leer el dominio del servicio cases. Claves anteriores: cases:read.",
969
904
  groupKey: "cases",
970
905
  groupDisplayName: "cases",
971
- order: 52,
906
+ order: 51,
972
907
  products: ["sail"],
973
908
  tenantAssignable: true,
974
909
  kind: "operation",
975
- exactMatch: false,
976
910
  serviceToService: false,
977
911
  roleDefaults: []
978
912
  },
@@ -985,11 +919,10 @@ export const CAPABILITY_CATALOG_DATA = [
985
919
  description: "Permite escribir el dominio del servicio cases. Claves anteriores: cases:write.",
986
920
  groupKey: "cases",
987
921
  groupDisplayName: "cases",
988
- order: 53,
922
+ order: 52,
989
923
  products: ["sail"],
990
924
  tenantAssignable: true,
991
925
  kind: "operation",
992
- exactMatch: false,
993
926
  serviceToService: false,
994
927
  roleDefaults: []
995
928
  },
@@ -1002,28 +935,10 @@ export const CAPABILITY_CATALOG_DATA = [
1002
935
  description: "Permite leer el recurso fees del servicio cases.",
1003
936
  groupKey: "cases",
1004
937
  groupDisplayName: "cases",
1005
- order: 54,
938
+ order: 53,
1006
939
  products: ["sail"],
1007
940
  tenantAssignable: true,
1008
941
  kind: "operation",
1009
- exactMatch: false,
1010
- serviceToService: false,
1011
- roleDefaults: []
1012
- },
1013
- {
1014
- key: "cases:*:read",
1015
- service: "cases",
1016
- resource: "*",
1017
- action: "read",
1018
- displayName: "Leer · todos los recursos",
1019
- description: "Grant comodín: satisface las claves de cases de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: cases:read.",
1020
- groupKey: "cases",
1021
- groupDisplayName: "cases",
1022
- order: 55,
1023
- products: ["sail"],
1024
- tenantAssignable: true,
1025
- kind: "grant-wildcard",
1026
- exactMatch: false,
1027
942
  serviceToService: false,
1028
943
  roleDefaults: []
1029
944
  },
@@ -1036,11 +951,10 @@ export const CAPABILITY_CATALOG_DATA = [
1036
951
  description: "Permite eliminar el dominio del servicio clinical-organization. Claves anteriores: clinical-organization:delete.",
1037
952
  groupKey: "clinical-organization",
1038
953
  groupDisplayName: "clinical-organization",
1039
- order: 56,
954
+ order: 54,
1040
955
  products: ["sail"],
1041
956
  tenantAssignable: true,
1042
957
  kind: "operation",
1043
- exactMatch: false,
1044
958
  serviceToService: false,
1045
959
  roleDefaults: []
1046
960
  },
@@ -1053,11 +967,10 @@ export const CAPABILITY_CATALOG_DATA = [
1053
967
  description: "Permite leer el dominio del servicio clinical-organization. Claves anteriores: clinical-organization:read.",
1054
968
  groupKey: "clinical-organization",
1055
969
  groupDisplayName: "clinical-organization",
1056
- order: 57,
970
+ order: 55,
1057
971
  products: ["sail"],
1058
972
  tenantAssignable: true,
1059
973
  kind: "operation",
1060
- exactMatch: false,
1061
974
  serviceToService: false,
1062
975
  roleDefaults: []
1063
976
  },
@@ -1070,11 +983,10 @@ export const CAPABILITY_CATALOG_DATA = [
1070
983
  description: "Permite escribir el dominio del servicio clinical-organization. Claves anteriores: clinical-organization:write.",
1071
984
  groupKey: "clinical-organization",
1072
985
  groupDisplayName: "clinical-organization",
1073
- order: 58,
986
+ order: 56,
1074
987
  products: ["sail"],
1075
988
  tenantAssignable: true,
1076
989
  kind: "operation",
1077
- exactMatch: false,
1078
990
  serviceToService: false,
1079
991
  roleDefaults: []
1080
992
  },
@@ -1087,11 +999,10 @@ export const CAPABILITY_CATALOG_DATA = [
1087
999
  description: "Permite eliminar el dominio del servicio clinical-record. Claves anteriores: clinical-record:delete.",
1088
1000
  groupKey: "clinical-record",
1089
1001
  groupDisplayName: "clinical-record",
1090
- order: 59,
1002
+ order: 57,
1091
1003
  products: ["sail"],
1092
1004
  tenantAssignable: true,
1093
1005
  kind: "operation",
1094
- exactMatch: false,
1095
1006
  serviceToService: false,
1096
1007
  roleDefaults: []
1097
1008
  },
@@ -1104,13 +1015,13 @@ export const CAPABILITY_CATALOG_DATA = [
1104
1015
  description: "Permite leer el dominio del servicio clinical-record. Claves anteriores: clinical-record:read.",
1105
1016
  groupKey: "clinical-record",
1106
1017
  groupDisplayName: "clinical-record",
1107
- order: 60,
1108
- products: ["sail"],
1018
+ order: 58,
1019
+ products: ["connect", "sail"],
1109
1020
  tenantAssignable: true,
1110
1021
  kind: "operation",
1111
- exactMatch: false,
1112
1022
  serviceToService: false,
1113
- roleDefaults: []
1023
+ roleDefaults: [],
1024
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
1114
1025
  },
1115
1026
  {
1116
1027
  key: "clinical-record:domain:write",
@@ -1121,11 +1032,10 @@ export const CAPABILITY_CATALOG_DATA = [
1121
1032
  description: "Permite escribir el dominio del servicio clinical-record. Claves anteriores: clinical-record:write.",
1122
1033
  groupKey: "clinical-record",
1123
1034
  groupDisplayName: "clinical-record",
1124
- order: 61,
1035
+ order: 59,
1125
1036
  products: ["sail"],
1126
1037
  tenantAssignable: true,
1127
1038
  kind: "operation",
1128
- exactMatch: false,
1129
1039
  serviceToService: false,
1130
1040
  roleDefaults: []
1131
1041
  },
@@ -1138,14 +1048,13 @@ export const CAPABILITY_CATALOG_DATA = [
1138
1048
  description: "Permite leer el recurso report-snapshot del servicio clinical-record.",
1139
1049
  groupKey: "clinical-record",
1140
1050
  groupDisplayName: "clinical-record",
1141
- order: 62,
1051
+ order: 60,
1142
1052
  products: ["sail"],
1143
1053
  tenantAssignable: false,
1144
1054
  kind: "operation",
1145
- exactMatch: true,
1146
1055
  serviceToService: true,
1147
1056
  roleDefaults: [],
1148
- notes: "Servicio a servicio: ruta interna para la identidad reports-api, junto con clinical-record:report-snapshot-service:read (clinical-record-api src/clinical-record-routes.ts:425-431, 875-880); exactMatch para que ningún comodín la satisfaga."
1057
+ notes: "Servicio a servicio: ruta interna para la identidad reports-api, junto con clinical-record:report-snapshot-service:read (clinical-record-api src/clinical-record-routes.ts:425-431, 875-880); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
1149
1058
  },
1150
1059
  {
1151
1060
  key: "clinical-record:report-snapshot-service:read",
@@ -1156,11 +1065,10 @@ export const CAPABILITY_CATALOG_DATA = [
1156
1065
  description: "Condición de identidad de servicio del snapshot de reporte: se exige junto con clinical-record:report-snapshot:read y con el subject reports-api verificado. Sola no abre nada. Solo servicio a servicio. Claves anteriores: service:reports-api.",
1157
1066
  groupKey: "clinical-record",
1158
1067
  groupDisplayName: "clinical-record",
1159
- order: 63,
1068
+ order: 61,
1160
1069
  products: ["sail"],
1161
1070
  tenantAssignable: false,
1162
1071
  kind: "operation",
1163
- exactMatch: true,
1164
1072
  serviceToService: true,
1165
1073
  roleDefaults: [],
1166
1074
  notes: "Entrada añadida fuera del mapa (corrección EXT-10 de la revisión externa): GET /internal/report-snapshots/patients/:patientId/encounters/:encounterId exige clinical-record:report-snapshot:read (clinical-record-api src/clinical-record-routes.ts:879) y después requireReportsServiceIdentity (880), que pide subject reports-api y service:reports-api en el mismo token (425-431). El mapa retiraba service:reports-api sin destino y así perdía esa condición: un token con solo report-snapshot:read quedaba igual que uno con ambas claves. Servicio a servicio: la presenta solo el token de reports-api; la ruta migrada debe exigir assertAllPermissions con clinical-record:report-snapshot:read y esta clave, más subject reports-api. Producto sail como la puerta de producto de esa ruta (clinical-record-routes.ts:406); no asignable a tenant."
@@ -1174,11 +1082,10 @@ export const CAPABILITY_CATALOG_DATA = [
1174
1082
  description: "Permite leer el recurso settings del servicio clinical-record.",
1175
1083
  groupKey: "clinical-record",
1176
1084
  groupDisplayName: "clinical-record",
1177
- order: 64,
1085
+ order: 62,
1178
1086
  products: ["sail"],
1179
1087
  tenantAssignable: true,
1180
1088
  kind: "operation",
1181
- exactMatch: false,
1182
1089
  serviceToService: false,
1183
1090
  roleDefaults: []
1184
1091
  },
@@ -1191,11 +1098,10 @@ export const CAPABILITY_CATALOG_DATA = [
1191
1098
  description: "Permite escribir el recurso settings del servicio clinical-record.",
1192
1099
  groupKey: "clinical-record",
1193
1100
  groupDisplayName: "clinical-record",
1194
- order: 65,
1101
+ order: 63,
1195
1102
  products: ["sail"],
1196
1103
  tenantAssignable: true,
1197
1104
  kind: "operation",
1198
- exactMatch: false,
1199
1105
  serviceToService: false,
1200
1106
  roleDefaults: []
1201
1107
  },
@@ -1208,11 +1114,10 @@ export const CAPABILITY_CATALOG_DATA = [
1208
1114
  description: "Permite eliminar el recurso channel-config del servicio collaboration.",
1209
1115
  groupKey: "collaboration",
1210
1116
  groupDisplayName: "collaboration",
1211
- order: 66,
1117
+ order: 64,
1212
1118
  products: ["connect", "sail"],
1213
1119
  tenantAssignable: true,
1214
1120
  kind: "operation",
1215
- exactMatch: false,
1216
1121
  serviceToService: false,
1217
1122
  roleDefaults: []
1218
1123
  },
@@ -1225,11 +1130,10 @@ export const CAPABILITY_CATALOG_DATA = [
1225
1130
  description: "Permite leer el recurso channel-config del servicio collaboration.",
1226
1131
  groupKey: "collaboration",
1227
1132
  groupDisplayName: "collaboration",
1228
- order: 67,
1133
+ order: 65,
1229
1134
  products: ["connect", "sail"],
1230
1135
  tenantAssignable: true,
1231
1136
  kind: "operation",
1232
- exactMatch: false,
1233
1137
  serviceToService: false,
1234
1138
  roleDefaults: []
1235
1139
  },
@@ -1242,11 +1146,10 @@ export const CAPABILITY_CATALOG_DATA = [
1242
1146
  description: "Permite escribir el recurso channel-config del servicio collaboration.",
1243
1147
  groupKey: "collaboration",
1244
1148
  groupDisplayName: "collaboration",
1245
- order: 68,
1149
+ order: 66,
1246
1150
  products: ["connect", "sail"],
1247
1151
  tenantAssignable: true,
1248
1152
  kind: "operation",
1249
- exactMatch: false,
1250
1153
  serviceToService: false,
1251
1154
  roleDefaults: []
1252
1155
  },
@@ -1259,11 +1162,10 @@ export const CAPABILITY_CATALOG_DATA = [
1259
1162
  description: "Permite eliminar el recurso conversation del servicio collaboration.",
1260
1163
  groupKey: "collaboration",
1261
1164
  groupDisplayName: "collaboration",
1262
- order: 69,
1165
+ order: 67,
1263
1166
  products: ["connect", "sail"],
1264
1167
  tenantAssignable: true,
1265
1168
  kind: "operation",
1266
- exactMatch: false,
1267
1169
  serviceToService: false,
1268
1170
  roleDefaults: []
1269
1171
  },
@@ -1276,11 +1178,10 @@ export const CAPABILITY_CATALOG_DATA = [
1276
1178
  description: "Permite moderar el recurso conversation del servicio collaboration. Claves anteriores: collaboration:moderate.",
1277
1179
  groupKey: "collaboration",
1278
1180
  groupDisplayName: "collaboration",
1279
- order: 70,
1181
+ order: 68,
1280
1182
  products: ["connect", "sail"],
1281
1183
  tenantAssignable: true,
1282
1184
  kind: "operation",
1283
- exactMatch: false,
1284
1185
  serviceToService: false,
1285
1186
  roleDefaults: [],
1286
1187
  notes: "Colisión (collaboration:conversation:moderate: connect, sail, tenantAssignable true; collaboration:moderate: connect, sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna)."
@@ -1294,11 +1195,10 @@ export const CAPABILITY_CATALOG_DATA = [
1294
1195
  description: "Permite leer el recurso conversation del servicio collaboration.",
1295
1196
  groupKey: "collaboration",
1296
1197
  groupDisplayName: "collaboration",
1297
- order: 71,
1198
+ order: 69,
1298
1199
  products: ["connect", "sail"],
1299
1200
  tenantAssignable: true,
1300
1201
  kind: "operation",
1301
- exactMatch: false,
1302
1202
  serviceToService: false,
1303
1203
  roleDefaults: []
1304
1204
  },
@@ -1311,11 +1211,10 @@ export const CAPABILITY_CATALOG_DATA = [
1311
1211
  description: "Permite escribir el recurso conversation del servicio collaboration.",
1312
1212
  groupKey: "collaboration",
1313
1213
  groupDisplayName: "collaboration",
1314
- order: 72,
1214
+ order: 70,
1315
1215
  products: ["connect", "sail"],
1316
1216
  tenantAssignable: true,
1317
1217
  kind: "operation",
1318
- exactMatch: false,
1319
1218
  serviceToService: false,
1320
1219
  roleDefaults: []
1321
1220
  },
@@ -1328,11 +1227,10 @@ export const CAPABILITY_CATALOG_DATA = [
1328
1227
  description: "Permite eliminar el recurso delivery-attempt del servicio collaboration.",
1329
1228
  groupKey: "collaboration",
1330
1229
  groupDisplayName: "collaboration",
1331
- order: 73,
1230
+ order: 71,
1332
1231
  products: ["connect", "sail"],
1333
1232
  tenantAssignable: true,
1334
1233
  kind: "operation",
1335
- exactMatch: false,
1336
1234
  serviceToService: false,
1337
1235
  roleDefaults: []
1338
1236
  },
@@ -1345,11 +1243,10 @@ export const CAPABILITY_CATALOG_DATA = [
1345
1243
  description: "Permite leer el recurso delivery-attempt del servicio collaboration.",
1346
1244
  groupKey: "collaboration",
1347
1245
  groupDisplayName: "collaboration",
1348
- order: 74,
1246
+ order: 72,
1349
1247
  products: ["connect", "sail"],
1350
1248
  tenantAssignable: true,
1351
1249
  kind: "operation",
1352
- exactMatch: false,
1353
1250
  serviceToService: false,
1354
1251
  roleDefaults: []
1355
1252
  },
@@ -1362,11 +1259,10 @@ export const CAPABILITY_CATALOG_DATA = [
1362
1259
  description: "Permite escribir el recurso delivery-attempt del servicio collaboration.",
1363
1260
  groupKey: "collaboration",
1364
1261
  groupDisplayName: "collaboration",
1365
- order: 75,
1262
+ order: 73,
1366
1263
  products: ["connect", "sail"],
1367
1264
  tenantAssignable: true,
1368
1265
  kind: "operation",
1369
- exactMatch: false,
1370
1266
  serviceToService: false,
1371
1267
  roleDefaults: []
1372
1268
  },
@@ -1379,11 +1275,10 @@ export const CAPABILITY_CATALOG_DATA = [
1379
1275
  description: "Permite eliminar el dominio del servicio collaboration. Claves anteriores: collaboration:delete.",
1380
1276
  groupKey: "collaboration",
1381
1277
  groupDisplayName: "collaboration",
1382
- order: 76,
1278
+ order: 74,
1383
1279
  products: ["connect", "sail"],
1384
1280
  tenantAssignable: true,
1385
1281
  kind: "operation",
1386
- exactMatch: false,
1387
1282
  serviceToService: false,
1388
1283
  roleDefaults: []
1389
1284
  },
@@ -1396,11 +1291,10 @@ export const CAPABILITY_CATALOG_DATA = [
1396
1291
  description: "Permite leer el dominio del servicio collaboration. Claves anteriores: collaboration:read.",
1397
1292
  groupKey: "collaboration",
1398
1293
  groupDisplayName: "collaboration",
1399
- order: 77,
1294
+ order: 75,
1400
1295
  products: ["connect", "sail"],
1401
1296
  tenantAssignable: true,
1402
1297
  kind: "operation",
1403
- exactMatch: false,
1404
1298
  serviceToService: false,
1405
1299
  roleDefaults: []
1406
1300
  },
@@ -1413,11 +1307,10 @@ export const CAPABILITY_CATALOG_DATA = [
1413
1307
  description: "Permite escribir el dominio del servicio collaboration. Claves anteriores: collaboration:write.",
1414
1308
  groupKey: "collaboration",
1415
1309
  groupDisplayName: "collaboration",
1416
- order: 78,
1310
+ order: 76,
1417
1311
  products: ["connect", "sail"],
1418
1312
  tenantAssignable: true,
1419
1313
  kind: "operation",
1420
- exactMatch: false,
1421
1314
  serviceToService: false,
1422
1315
  roleDefaults: []
1423
1316
  },
@@ -1430,11 +1323,10 @@ export const CAPABILITY_CATALOG_DATA = [
1430
1323
  description: "Permite eliminar el recurso job del servicio collaboration.",
1431
1324
  groupKey: "collaboration",
1432
1325
  groupDisplayName: "collaboration",
1433
- order: 79,
1326
+ order: 77,
1434
1327
  products: ["connect", "sail"],
1435
1328
  tenantAssignable: true,
1436
1329
  kind: "operation",
1437
- exactMatch: false,
1438
1330
  serviceToService: false,
1439
1331
  roleDefaults: []
1440
1332
  },
@@ -1447,11 +1339,10 @@ export const CAPABILITY_CATALOG_DATA = [
1447
1339
  description: "Permite leer el recurso job del servicio collaboration.",
1448
1340
  groupKey: "collaboration",
1449
1341
  groupDisplayName: "collaboration",
1450
- order: 80,
1342
+ order: 78,
1451
1343
  products: ["connect", "sail"],
1452
1344
  tenantAssignable: true,
1453
1345
  kind: "operation",
1454
- exactMatch: false,
1455
1346
  serviceToService: false,
1456
1347
  roleDefaults: []
1457
1348
  },
@@ -1464,11 +1355,10 @@ export const CAPABILITY_CATALOG_DATA = [
1464
1355
  description: "Permite escribir el recurso job del servicio collaboration.",
1465
1356
  groupKey: "collaboration",
1466
1357
  groupDisplayName: "collaboration",
1467
- order: 81,
1358
+ order: 79,
1468
1359
  products: ["connect", "sail"],
1469
1360
  tenantAssignable: true,
1470
1361
  kind: "operation",
1471
- exactMatch: false,
1472
1362
  serviceToService: false,
1473
1363
  roleDefaults: []
1474
1364
  },
@@ -1481,11 +1371,10 @@ export const CAPABILITY_CATALOG_DATA = [
1481
1371
  description: "Permite eliminar el recurso message del servicio collaboration.",
1482
1372
  groupKey: "collaboration",
1483
1373
  groupDisplayName: "collaboration",
1484
- order: 82,
1374
+ order: 80,
1485
1375
  products: ["connect", "sail"],
1486
1376
  tenantAssignable: true,
1487
1377
  kind: "operation",
1488
- exactMatch: false,
1489
1378
  serviceToService: false,
1490
1379
  roleDefaults: []
1491
1380
  },
@@ -1498,11 +1387,10 @@ export const CAPABILITY_CATALOG_DATA = [
1498
1387
  description: "Permite leer el recurso message del servicio collaboration.",
1499
1388
  groupKey: "collaboration",
1500
1389
  groupDisplayName: "collaboration",
1501
- order: 83,
1390
+ order: 81,
1502
1391
  products: ["connect", "sail"],
1503
1392
  tenantAssignable: true,
1504
1393
  kind: "operation",
1505
- exactMatch: false,
1506
1394
  serviceToService: false,
1507
1395
  roleDefaults: []
1508
1396
  },
@@ -1515,11 +1403,10 @@ export const CAPABILITY_CATALOG_DATA = [
1515
1403
  description: "Permite escribir el recurso message del servicio collaboration.",
1516
1404
  groupKey: "collaboration",
1517
1405
  groupDisplayName: "collaboration",
1518
- order: 84,
1406
+ order: 82,
1519
1407
  products: ["connect", "sail"],
1520
1408
  tenantAssignable: true,
1521
1409
  kind: "operation",
1522
- exactMatch: false,
1523
1410
  serviceToService: false,
1524
1411
  roleDefaults: []
1525
1412
  },
@@ -1532,11 +1419,10 @@ export const CAPABILITY_CATALOG_DATA = [
1532
1419
  description: "Permite eliminar el recurso provider-event del servicio collaboration.",
1533
1420
  groupKey: "collaboration",
1534
1421
  groupDisplayName: "collaboration",
1535
- order: 85,
1422
+ order: 83,
1536
1423
  products: ["connect", "sail"],
1537
1424
  tenantAssignable: true,
1538
1425
  kind: "operation",
1539
- exactMatch: false,
1540
1426
  serviceToService: false,
1541
1427
  roleDefaults: []
1542
1428
  },
@@ -1549,11 +1435,10 @@ export const CAPABILITY_CATALOG_DATA = [
1549
1435
  description: "Permite leer el recurso provider-event del servicio collaboration.",
1550
1436
  groupKey: "collaboration",
1551
1437
  groupDisplayName: "collaboration",
1552
- order: 86,
1438
+ order: 84,
1553
1439
  products: ["connect", "sail"],
1554
1440
  tenantAssignable: true,
1555
1441
  kind: "operation",
1556
- exactMatch: false,
1557
1442
  serviceToService: false,
1558
1443
  roleDefaults: []
1559
1444
  },
@@ -1566,14 +1451,13 @@ export const CAPABILITY_CATALOG_DATA = [
1566
1451
  description: "Permite escribir el recurso provider-event del servicio collaboration.",
1567
1452
  groupKey: "collaboration",
1568
1453
  groupDisplayName: "collaboration",
1569
- order: 87,
1454
+ order: 85,
1570
1455
  products: ["connect", "sail"],
1571
1456
  tenantAssignable: false,
1572
1457
  kind: "operation",
1573
- exactMatch: true,
1574
1458
  serviceToService: true,
1575
1459
  roleDefaults: [],
1576
- notes: "Servicio a servicio: eventos del proveedor (collaboration-api src/collaboration-routes.ts:115-121); exactMatch para que ningún comodín la satisfaga."
1460
+ notes: "Servicio a servicio: eventos del proveedor (collaboration-api src/collaboration-routes.ts:115-121); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
1577
1461
  },
1578
1462
  {
1579
1463
  key: "collaboration:read-receipt:delete",
@@ -1584,11 +1468,10 @@ export const CAPABILITY_CATALOG_DATA = [
1584
1468
  description: "Permite eliminar el recurso read-receipt del servicio collaboration.",
1585
1469
  groupKey: "collaboration",
1586
1470
  groupDisplayName: "collaboration",
1587
- order: 88,
1471
+ order: 86,
1588
1472
  products: ["connect", "sail"],
1589
1473
  tenantAssignable: true,
1590
1474
  kind: "operation",
1591
- exactMatch: false,
1592
1475
  serviceToService: false,
1593
1476
  roleDefaults: []
1594
1477
  },
@@ -1601,11 +1484,10 @@ export const CAPABILITY_CATALOG_DATA = [
1601
1484
  description: "Permite leer el recurso read-receipt del servicio collaboration.",
1602
1485
  groupKey: "collaboration",
1603
1486
  groupDisplayName: "collaboration",
1604
- order: 89,
1487
+ order: 87,
1605
1488
  products: ["connect", "sail"],
1606
1489
  tenantAssignable: true,
1607
1490
  kind: "operation",
1608
- exactMatch: false,
1609
1491
  serviceToService: false,
1610
1492
  roleDefaults: []
1611
1493
  },
@@ -1618,11 +1500,10 @@ export const CAPABILITY_CATALOG_DATA = [
1618
1500
  description: "Permite escribir el recurso read-receipt del servicio collaboration.",
1619
1501
  groupKey: "collaboration",
1620
1502
  groupDisplayName: "collaboration",
1621
- order: 90,
1503
+ order: 88,
1622
1504
  products: ["connect", "sail"],
1623
1505
  tenantAssignable: true,
1624
1506
  kind: "operation",
1625
- exactMatch: false,
1626
1507
  serviceToService: false,
1627
1508
  roleDefaults: []
1628
1509
  },
@@ -1635,11 +1516,10 @@ export const CAPABILITY_CATALOG_DATA = [
1635
1516
  description: "Permite leer el recurso support del servicio collaboration.",
1636
1517
  groupKey: "collaboration",
1637
1518
  groupDisplayName: "collaboration",
1638
- order: 91,
1519
+ order: 89,
1639
1520
  products: ["connect", "sail"],
1640
1521
  tenantAssignable: true,
1641
1522
  kind: "operation",
1642
- exactMatch: false,
1643
1523
  serviceToService: false,
1644
1524
  roleDefaults: []
1645
1525
  },
@@ -1652,11 +1532,10 @@ export const CAPABILITY_CATALOG_DATA = [
1652
1532
  description: "Permite eliminar el recurso template del servicio collaboration.",
1653
1533
  groupKey: "collaboration",
1654
1534
  groupDisplayName: "collaboration",
1655
- order: 92,
1535
+ order: 90,
1656
1536
  products: ["connect", "sail"],
1657
1537
  tenantAssignable: true,
1658
1538
  kind: "operation",
1659
- exactMatch: false,
1660
1539
  serviceToService: false,
1661
1540
  roleDefaults: []
1662
1541
  },
@@ -1669,11 +1548,10 @@ export const CAPABILITY_CATALOG_DATA = [
1669
1548
  description: "Permite leer el recurso template del servicio collaboration.",
1670
1549
  groupKey: "collaboration",
1671
1550
  groupDisplayName: "collaboration",
1672
- order: 93,
1551
+ order: 91,
1673
1552
  products: ["connect", "sail"],
1674
1553
  tenantAssignable: true,
1675
1554
  kind: "operation",
1676
- exactMatch: false,
1677
1555
  serviceToService: false,
1678
1556
  roleDefaults: []
1679
1557
  },
@@ -1686,45 +1564,10 @@ export const CAPABILITY_CATALOG_DATA = [
1686
1564
  description: "Permite escribir el recurso template del servicio collaboration.",
1687
1565
  groupKey: "collaboration",
1688
1566
  groupDisplayName: "collaboration",
1689
- order: 94,
1567
+ order: 92,
1690
1568
  products: ["connect", "sail"],
1691
1569
  tenantAssignable: true,
1692
1570
  kind: "operation",
1693
- exactMatch: false,
1694
- serviceToService: false,
1695
- roleDefaults: []
1696
- },
1697
- {
1698
- key: "collaboration:*:delete",
1699
- service: "collaboration",
1700
- resource: "*",
1701
- action: "delete",
1702
- displayName: "Eliminar · todos los recursos",
1703
- description: "Grant comodín: satisface las claves de collaboration de cualquier recurso con la acción delete, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: collaboration:delete.",
1704
- groupKey: "collaboration",
1705
- groupDisplayName: "collaboration",
1706
- order: 95,
1707
- products: ["connect", "sail"],
1708
- tenantAssignable: true,
1709
- kind: "grant-wildcard",
1710
- exactMatch: false,
1711
- serviceToService: false,
1712
- roleDefaults: []
1713
- },
1714
- {
1715
- key: "collaboration:*:write",
1716
- service: "collaboration",
1717
- resource: "*",
1718
- action: "write",
1719
- displayName: "Escribir · todos los recursos",
1720
- description: "Grant comodín: satisface las claves de collaboration de cualquier recurso con la acción write, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: collaboration:write.",
1721
- groupKey: "collaboration",
1722
- groupDisplayName: "collaboration",
1723
- order: 96,
1724
- products: ["connect", "sail"],
1725
- tenantAssignable: true,
1726
- kind: "grant-wildcard",
1727
- exactMatch: false,
1728
1571
  serviceToService: false,
1729
1572
  roleDefaults: []
1730
1573
  },
@@ -1737,14 +1580,13 @@ export const CAPABILITY_CATALOG_DATA = [
1737
1580
  description: "Permite leer el dominio del servicio commercial-core. Claves anteriores: commercial-core:read.",
1738
1581
  groupKey: "commercial-core",
1739
1582
  groupDisplayName: "commercial-core",
1740
- order: 97,
1741
- products: [],
1583
+ order: 93,
1584
+ products: ["connect", "sail"],
1742
1585
  tenantAssignable: false,
1743
1586
  kind: "operation",
1744
- exactMatch: false,
1745
1587
  serviceToService: false,
1746
1588
  roleDefaults: [],
1747
- notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable."
1589
+ notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect (administra licencias o consumo de las dos familias; commercial-core-api src/seed-auth.ts:204-210, access-api src/commercial-snapshot-routes.ts:167-168, communications-api src/campaign-communication.ts:274); no hay listas de productos vacías."
1748
1590
  },
1749
1591
  {
1750
1592
  key: "commercial-core:domain:write",
@@ -1755,14 +1597,13 @@ export const CAPABILITY_CATALOG_DATA = [
1755
1597
  description: "Permite escribir el dominio del servicio commercial-core. Claves anteriores: commercial-core:write.",
1756
1598
  groupKey: "commercial-core",
1757
1599
  groupDisplayName: "commercial-core",
1758
- order: 98,
1759
- products: [],
1600
+ order: 94,
1601
+ products: ["connect", "sail"],
1760
1602
  tenantAssignable: false,
1761
1603
  kind: "operation",
1762
- exactMatch: false,
1763
1604
  serviceToService: false,
1764
1605
  roleDefaults: [],
1765
- notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable."
1606
+ notes: "Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect (administra licencias o consumo de las dos familias; commercial-core-api src/seed-auth.ts:204-210, access-api src/commercial-snapshot-routes.ts:167-168, communications-api src/campaign-communication.ts:274); no hay listas de productos vacías."
1766
1607
  },
1767
1608
  {
1768
1609
  key: "commercial-core:usage:write",
@@ -1773,14 +1614,13 @@ export const CAPABILITY_CATALOG_DATA = [
1773
1614
  description: "Permite escribir el recurso usage del servicio commercial-core. Claves anteriores: commercial-usage:reserve.",
1774
1615
  groupKey: "commercial-core",
1775
1616
  groupDisplayName: "commercial-core",
1776
- order: 99,
1777
- products: [],
1617
+ order: 95,
1618
+ products: ["connect", "sail"],
1778
1619
  tenantAssignable: false,
1779
1620
  kind: "operation",
1780
- exactMatch: true,
1781
1621
  serviceToService: true,
1782
1622
  roleDefaults: [],
1783
- notes: "Decisión pendiente del mapa (commercial-usage:reserve) resuelta: la fusión de reserve/commit/release en usage:write se rechazó porque ampliaba acceso; reserve conserva usage:write y commit y release tienen su clave estrecha. Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable. Servicio a servicio: reserva de consumo con token de servicio (commercial-core-api src/usage-routes.ts:111, seed-auth.ts:250); exactMatch para que ningún comodín la satisfaga."
1623
+ notes: "Decisión pendiente del mapa (commercial-usage:reserve) resuelta: la fusión de reserve/commit/release en usage:write se rechazó porque ampliaba acceso; reserve conserva usage:write y commit y release tienen su clave estrecha. Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect (administra licencias o consumo de las dos familias; commercial-core-api src/seed-auth.ts:204-210, access-api src/commercial-snapshot-routes.ts:167-168, communications-api src/campaign-communication.ts:274); no hay listas de productos vacías. Servicio a servicio: reserva de consumo con token de servicio (commercial-core-api src/usage-routes.ts:111, seed-auth.ts:250); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
1784
1624
  },
1785
1625
  {
1786
1626
  key: "commercial-core:usage-commit:write",
@@ -1791,14 +1631,13 @@ export const CAPABILITY_CATALOG_DATA = [
1791
1631
  description: "Permite confirmar (commit) una reserva de consumo comercial. Solo servicio a servicio. Claves anteriores: commercial-usage:commit.",
1792
1632
  groupKey: "commercial-core",
1793
1633
  groupDisplayName: "commercial-core",
1794
- order: 100,
1795
- products: [],
1634
+ order: 96,
1635
+ products: ["connect", "sail"],
1796
1636
  tenantAssignable: false,
1797
1637
  kind: "operation",
1798
- exactMatch: true,
1799
1638
  serviceToService: true,
1800
1639
  roleDefaults: [],
1801
- notes: "Entrada añadida fuera del mapa: el mapa fundía commercial-usage:commit con reserve y release en commercial-core:usage:write, y así ampliaba acceso (commercial-core-api src/usage-routes.ts:111, 117-120). Servicio a servicio: requireExactPermission con token de servicio (commercial-core-api src/seed-auth.ts:250). Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable."
1640
+ notes: "Entrada añadida fuera del mapa: el mapa fundía commercial-usage:commit con reserve y release en commercial-core:usage:write, y así ampliaba acceso (commercial-core-api src/usage-routes.ts:111, 117-120). Servicio a servicio: requireExactPermission con token de servicio (commercial-core-api src/seed-auth.ts:250). Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect; la exige communications con token de servicio (campaign-communication.ts:274, communication-capabilities.ts:169-170)."
1802
1641
  },
1803
1642
  {
1804
1643
  key: "commercial-core:usage-release:write",
@@ -1809,14 +1648,13 @@ export const CAPABILITY_CATALOG_DATA = [
1809
1648
  description: "Permite liberar (release) una reserva de consumo comercial. Solo servicio a servicio. Claves anteriores: commercial-usage:release.",
1810
1649
  groupKey: "commercial-core",
1811
1650
  groupDisplayName: "commercial-core",
1812
- order: 101,
1813
- products: [],
1651
+ order: 97,
1652
+ products: ["connect", "sail"],
1814
1653
  tenantAssignable: false,
1815
1654
  kind: "operation",
1816
- exactMatch: true,
1817
1655
  serviceToService: true,
1818
1656
  roleDefaults: [],
1819
- notes: "Entrada añadida fuera del mapa: el mapa fundía commercial-usage:release con reserve y commit en commercial-core:usage:write, y así ampliaba acceso (commercial-core-api src/usage-routes.ts:117-120). Servicio a servicio: requireExactPermission con token de servicio (commercial-core-api src/seed-auth.ts:250). Decisión del propietario 2026-09-29: solo plataforma y sistema, sin producto y no asignable."
1657
+ notes: "Entrada añadida fuera del mapa: el mapa fundía commercial-usage:release con reserve y commit en commercial-core:usage:write, y así ampliaba acceso (commercial-core-api src/usage-routes.ts:117-120). Servicio a servicio: requireExactPermission con token de servicio (commercial-core-api src/seed-auth.ts:250). Decisión del propietario 2026-09-29: solo plataforma y sistema, no asignable. Decisión del propietario 2026-09-30 (D10): productos sail y connect; consumo comercial de las dos familias de licencia (commercial-core-api src/usage-routes.ts:117-120)."
1820
1658
  },
1821
1659
  {
1822
1660
  key: "communications:channel-config:delete",
@@ -1827,11 +1665,10 @@ export const CAPABILITY_CATALOG_DATA = [
1827
1665
  description: "Permite eliminar el recurso channel-config del servicio communications.",
1828
1666
  groupKey: "communications",
1829
1667
  groupDisplayName: "communications",
1830
- order: 102,
1668
+ order: 98,
1831
1669
  products: ["connect", "sail"],
1832
1670
  tenantAssignable: true,
1833
1671
  kind: "operation",
1834
- exactMatch: false,
1835
1672
  serviceToService: false,
1836
1673
  roleDefaults: []
1837
1674
  },
@@ -1844,11 +1681,10 @@ export const CAPABILITY_CATALOG_DATA = [
1844
1681
  description: "Permite leer el recurso channel-config del servicio communications.",
1845
1682
  groupKey: "communications",
1846
1683
  groupDisplayName: "communications",
1847
- order: 103,
1684
+ order: 99,
1848
1685
  products: ["connect", "sail"],
1849
1686
  tenantAssignable: true,
1850
1687
  kind: "operation",
1851
- exactMatch: false,
1852
1688
  serviceToService: false,
1853
1689
  roleDefaults: []
1854
1690
  },
@@ -1861,11 +1697,10 @@ export const CAPABILITY_CATALOG_DATA = [
1861
1697
  description: "Permite escribir el recurso channel-config del servicio communications.",
1862
1698
  groupKey: "communications",
1863
1699
  groupDisplayName: "communications",
1864
- order: 104,
1700
+ order: 100,
1865
1701
  products: ["connect", "sail"],
1866
1702
  tenantAssignable: true,
1867
1703
  kind: "operation",
1868
- exactMatch: false,
1869
1704
  serviceToService: false,
1870
1705
  roleDefaults: []
1871
1706
  },
@@ -1878,11 +1713,10 @@ export const CAPABILITY_CATALOG_DATA = [
1878
1713
  description: "Permite eliminar el recurso delivery-attempt del servicio communications.",
1879
1714
  groupKey: "communications",
1880
1715
  groupDisplayName: "communications",
1881
- order: 105,
1716
+ order: 101,
1882
1717
  products: ["connect", "sail"],
1883
1718
  tenantAssignable: true,
1884
1719
  kind: "operation",
1885
- exactMatch: false,
1886
1720
  serviceToService: false,
1887
1721
  roleDefaults: []
1888
1722
  },
@@ -1895,11 +1729,10 @@ export const CAPABILITY_CATALOG_DATA = [
1895
1729
  description: "Permite leer el recurso delivery-attempt del servicio communications.",
1896
1730
  groupKey: "communications",
1897
1731
  groupDisplayName: "communications",
1898
- order: 106,
1732
+ order: 102,
1899
1733
  products: ["connect", "sail"],
1900
1734
  tenantAssignable: true,
1901
1735
  kind: "operation",
1902
- exactMatch: false,
1903
1736
  serviceToService: false,
1904
1737
  roleDefaults: []
1905
1738
  },
@@ -1912,11 +1745,10 @@ export const CAPABILITY_CATALOG_DATA = [
1912
1745
  description: "Permite escribir el recurso delivery-attempt del servicio communications.",
1913
1746
  groupKey: "communications",
1914
1747
  groupDisplayName: "communications",
1915
- order: 107,
1748
+ order: 103,
1916
1749
  products: ["connect", "sail"],
1917
1750
  tenantAssignable: true,
1918
1751
  kind: "operation",
1919
- exactMatch: false,
1920
1752
  serviceToService: false,
1921
1753
  roleDefaults: []
1922
1754
  },
@@ -1929,11 +1761,10 @@ export const CAPABILITY_CATALOG_DATA = [
1929
1761
  description: "Permite eliminar el dominio del servicio communications. Claves anteriores: communications:delete.",
1930
1762
  groupKey: "communications",
1931
1763
  groupDisplayName: "communications",
1932
- order: 108,
1764
+ order: 104,
1933
1765
  products: ["connect", "sail"],
1934
1766
  tenantAssignable: true,
1935
1767
  kind: "operation",
1936
- exactMatch: false,
1937
1768
  serviceToService: false,
1938
1769
  roleDefaults: []
1939
1770
  },
@@ -1946,11 +1777,10 @@ export const CAPABILITY_CATALOG_DATA = [
1946
1777
  description: "Permite leer el dominio del servicio communications. Claves anteriores: communications:read.",
1947
1778
  groupKey: "communications",
1948
1779
  groupDisplayName: "communications",
1949
- order: 109,
1780
+ order: 105,
1950
1781
  products: ["connect", "sail"],
1951
1782
  tenantAssignable: true,
1952
1783
  kind: "operation",
1953
- exactMatch: false,
1954
1784
  serviceToService: false,
1955
1785
  roleDefaults: []
1956
1786
  },
@@ -1963,11 +1793,10 @@ export const CAPABILITY_CATALOG_DATA = [
1963
1793
  description: "Permite escribir el dominio del servicio communications. Claves anteriores: communications:write.",
1964
1794
  groupKey: "communications",
1965
1795
  groupDisplayName: "communications",
1966
- order: 110,
1796
+ order: 106,
1967
1797
  products: ["connect", "sail"],
1968
1798
  tenantAssignable: true,
1969
1799
  kind: "operation",
1970
- exactMatch: false,
1971
1800
  serviceToService: false,
1972
1801
  roleDefaults: []
1973
1802
  },
@@ -1980,11 +1809,10 @@ export const CAPABILITY_CATALOG_DATA = [
1980
1809
  description: "Permite eliminar el recurso job del servicio communications.",
1981
1810
  groupKey: "communications",
1982
1811
  groupDisplayName: "communications",
1983
- order: 111,
1812
+ order: 107,
1984
1813
  products: ["connect", "sail"],
1985
1814
  tenantAssignable: true,
1986
1815
  kind: "operation",
1987
- exactMatch: false,
1988
1816
  serviceToService: false,
1989
1817
  roleDefaults: []
1990
1818
  },
@@ -1997,11 +1825,10 @@ export const CAPABILITY_CATALOG_DATA = [
1997
1825
  description: "Permite leer el recurso job del servicio communications.",
1998
1826
  groupKey: "communications",
1999
1827
  groupDisplayName: "communications",
2000
- order: 112,
1828
+ order: 108,
2001
1829
  products: ["connect", "sail"],
2002
1830
  tenantAssignable: true,
2003
1831
  kind: "operation",
2004
- exactMatch: false,
2005
1832
  serviceToService: false,
2006
1833
  roleDefaults: []
2007
1834
  },
@@ -2014,11 +1841,10 @@ export const CAPABILITY_CATALOG_DATA = [
2014
1841
  description: "Permite escribir el recurso job del servicio communications.",
2015
1842
  groupKey: "communications",
2016
1843
  groupDisplayName: "communications",
2017
- order: 113,
1844
+ order: 109,
2018
1845
  products: ["connect", "sail"],
2019
1846
  tenantAssignable: true,
2020
1847
  kind: "operation",
2021
- exactMatch: false,
2022
1848
  serviceToService: false,
2023
1849
  roleDefaults: []
2024
1850
  },
@@ -2031,11 +1857,10 @@ export const CAPABILITY_CATALOG_DATA = [
2031
1857
  description: "Permite eliminar el recurso provider-event del servicio communications.",
2032
1858
  groupKey: "communications",
2033
1859
  groupDisplayName: "communications",
2034
- order: 114,
1860
+ order: 110,
2035
1861
  products: ["connect", "sail"],
2036
1862
  tenantAssignable: true,
2037
1863
  kind: "operation",
2038
- exactMatch: false,
2039
1864
  serviceToService: false,
2040
1865
  roleDefaults: []
2041
1866
  },
@@ -2048,11 +1873,10 @@ export const CAPABILITY_CATALOG_DATA = [
2048
1873
  description: "Permite leer el recurso provider-event del servicio communications.",
2049
1874
  groupKey: "communications",
2050
1875
  groupDisplayName: "communications",
2051
- order: 115,
1876
+ order: 111,
2052
1877
  products: ["connect", "sail"],
2053
1878
  tenantAssignable: true,
2054
1879
  kind: "operation",
2055
- exactMatch: false,
2056
1880
  serviceToService: false,
2057
1881
  roleDefaults: []
2058
1882
  },
@@ -2065,14 +1889,13 @@ export const CAPABILITY_CATALOG_DATA = [
2065
1889
  description: "Permite escribir el recurso provider-event del servicio communications.",
2066
1890
  groupKey: "communications",
2067
1891
  groupDisplayName: "communications",
2068
- order: 116,
1892
+ order: 112,
2069
1893
  products: ["connect", "sail"],
2070
1894
  tenantAssignable: false,
2071
1895
  kind: "operation",
2072
- exactMatch: true,
2073
1896
  serviceToService: true,
2074
1897
  roleDefaults: [],
2075
- notes: "Servicio a servicio: eventos del proveedor (communications-api src/communication-routes.ts:134-144); exactMatch para que ningún comodín la satisfaga."
1898
+ notes: "Servicio a servicio: eventos del proveedor (communications-api src/communication-routes.ts:134-144); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
2076
1899
  },
2077
1900
  {
2078
1901
  key: "communications:request:write",
@@ -2083,14 +1906,13 @@ export const CAPABILITY_CATALOG_DATA = [
2083
1906
  description: "Permite escribir el recurso request del servicio communications. Claves anteriores: communications:request:create.",
2084
1907
  groupKey: "communications",
2085
1908
  groupDisplayName: "communications",
2086
- order: 117,
1909
+ order: 113,
2087
1910
  products: ["connect", "sail"],
2088
1911
  tenantAssignable: false,
2089
1912
  kind: "operation",
2090
- exactMatch: true,
2091
1913
  serviceToService: true,
2092
1914
  roleDefaults: [],
2093
- notes: "Servicio a servicio: comando de servicio (communications-api src/seed-config.ts:921, COMMUNICATION_COMMAND_PERMISSION) que emite schedules-api con token de servicio (src/schedule-cancellation-email.ts:82); exactMatch para que ningún comodín la satisfaga."
1915
+ notes: "Servicio a servicio: comando de servicio (communications-api src/seed-config.ts:921, COMMUNICATION_COMMAND_PERMISSION) que emite schedules-api con token de servicio (src/schedule-cancellation-email.ts:82); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
2094
1916
  },
2095
1917
  {
2096
1918
  key: "communications:template:delete",
@@ -2101,11 +1923,10 @@ export const CAPABILITY_CATALOG_DATA = [
2101
1923
  description: "Permite eliminar el recurso template del servicio communications.",
2102
1924
  groupKey: "communications",
2103
1925
  groupDisplayName: "communications",
2104
- order: 118,
1926
+ order: 114,
2105
1927
  products: ["connect", "sail"],
2106
1928
  tenantAssignable: true,
2107
1929
  kind: "operation",
2108
- exactMatch: false,
2109
1930
  serviceToService: false,
2110
1931
  roleDefaults: []
2111
1932
  },
@@ -2118,11 +1939,10 @@ export const CAPABILITY_CATALOG_DATA = [
2118
1939
  description: "Permite leer el recurso template del servicio communications.",
2119
1940
  groupKey: "communications",
2120
1941
  groupDisplayName: "communications",
2121
- order: 119,
1942
+ order: 115,
2122
1943
  products: ["connect", "sail"],
2123
1944
  tenantAssignable: true,
2124
1945
  kind: "operation",
2125
- exactMatch: false,
2126
1946
  serviceToService: false,
2127
1947
  roleDefaults: []
2128
1948
  },
@@ -2135,45 +1955,10 @@ export const CAPABILITY_CATALOG_DATA = [
2135
1955
  description: "Permite escribir el recurso template del servicio communications.",
2136
1956
  groupKey: "communications",
2137
1957
  groupDisplayName: "communications",
2138
- order: 120,
1958
+ order: 116,
2139
1959
  products: ["connect", "sail"],
2140
1960
  tenantAssignable: true,
2141
1961
  kind: "operation",
2142
- exactMatch: false,
2143
- serviceToService: false,
2144
- roleDefaults: []
2145
- },
2146
- {
2147
- key: "communications:*:delete",
2148
- service: "communications",
2149
- resource: "*",
2150
- action: "delete",
2151
- displayName: "Eliminar · todos los recursos",
2152
- description: "Grant comodín: satisface las claves de communications de cualquier recurso con la acción delete, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: communications:delete.",
2153
- groupKey: "communications",
2154
- groupDisplayName: "communications",
2155
- order: 121,
2156
- products: ["connect", "sail"],
2157
- tenantAssignable: true,
2158
- kind: "grant-wildcard",
2159
- exactMatch: false,
2160
- serviceToService: false,
2161
- roleDefaults: []
2162
- },
2163
- {
2164
- key: "communications:*:read",
2165
- service: "communications",
2166
- resource: "*",
2167
- action: "read",
2168
- displayName: "Leer · todos los recursos",
2169
- description: "Grant comodín: satisface las claves de communications de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: communications:read.",
2170
- groupKey: "communications",
2171
- groupDisplayName: "communications",
2172
- order: 122,
2173
- products: ["connect", "sail"],
2174
- tenantAssignable: true,
2175
- kind: "grant-wildcard",
2176
- exactMatch: false,
2177
1962
  serviceToService: false,
2178
1963
  roleDefaults: []
2179
1964
  },
@@ -2186,11 +1971,10 @@ export const CAPABILITY_CATALOG_DATA = [
2186
1971
  description: "Permite asignar el recurso case del servicio conversations.",
2187
1972
  groupKey: "conversations",
2188
1973
  groupDisplayName: "conversations",
2189
- order: 123,
1974
+ order: 117,
2190
1975
  products: ["connect"],
2191
1976
  tenantAssignable: true,
2192
1977
  kind: "operation",
2193
- exactMatch: false,
2194
1978
  serviceToService: false,
2195
1979
  roleDefaults: [],
2196
1980
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2204,11 +1988,10 @@ export const CAPABILITY_CATALOG_DATA = [
2204
1988
  description: "Permite leer el recurso case del servicio conversations.",
2205
1989
  groupKey: "conversations",
2206
1990
  groupDisplayName: "conversations",
2207
- order: 124,
1991
+ order: 118,
2208
1992
  products: ["connect"],
2209
1993
  tenantAssignable: true,
2210
1994
  kind: "operation",
2211
- exactMatch: false,
2212
1995
  serviceToService: false,
2213
1996
  roleDefaults: [],
2214
1997
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2222,11 +2005,10 @@ export const CAPABILITY_CATALOG_DATA = [
2222
2005
  description: "Permite escribir el recurso case del servicio conversations.",
2223
2006
  groupKey: "conversations",
2224
2007
  groupDisplayName: "conversations",
2225
- order: 125,
2008
+ order: 119,
2226
2009
  products: ["connect"],
2227
2010
  tenantAssignable: true,
2228
2011
  kind: "operation",
2229
- exactMatch: false,
2230
2012
  serviceToService: false,
2231
2013
  roleDefaults: [],
2232
2014
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2240,11 +2022,10 @@ export const CAPABILITY_CATALOG_DATA = [
2240
2022
  description: "Permite escribir el recurso case-escalation del servicio conversations. Claves anteriores: conversations:case:escalate.",
2241
2023
  groupKey: "conversations",
2242
2024
  groupDisplayName: "conversations",
2243
- order: 126,
2025
+ order: 120,
2244
2026
  products: ["connect"],
2245
2027
  tenantAssignable: true,
2246
2028
  kind: "operation",
2247
- exactMatch: false,
2248
2029
  serviceToService: false,
2249
2030
  roleDefaults: [],
2250
2031
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2258,11 +2039,10 @@ export const CAPABILITY_CATALOG_DATA = [
2258
2039
  description: "Permite leer el recurso contact del servicio conversations.",
2259
2040
  groupKey: "conversations",
2260
2041
  groupDisplayName: "conversations",
2261
- order: 127,
2042
+ order: 121,
2262
2043
  products: ["connect"],
2263
2044
  tenantAssignable: true,
2264
2045
  kind: "operation",
2265
- exactMatch: false,
2266
2046
  serviceToService: false,
2267
2047
  roleDefaults: [],
2268
2048
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2276,11 +2056,10 @@ export const CAPABILITY_CATALOG_DATA = [
2276
2056
  description: "Permite escribir el recurso contact del servicio conversations.",
2277
2057
  groupKey: "conversations",
2278
2058
  groupDisplayName: "conversations",
2279
- order: 128,
2059
+ order: 122,
2280
2060
  products: ["connect"],
2281
2061
  tenantAssignable: true,
2282
2062
  kind: "operation",
2283
- exactMatch: false,
2284
2063
  serviceToService: false,
2285
2064
  roleDefaults: [],
2286
2065
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2294,11 +2073,10 @@ export const CAPABILITY_CATALOG_DATA = [
2294
2073
  description: "Permite leer el recurso contact-identity del servicio conversations. Claves anteriores: conversations:contact:identity:read.",
2295
2074
  groupKey: "conversations",
2296
2075
  groupDisplayName: "conversations",
2297
- order: 129,
2076
+ order: 123,
2298
2077
  products: ["connect"],
2299
2078
  tenantAssignable: false,
2300
2079
  kind: "operation",
2301
- exactMatch: true,
2302
2080
  serviceToService: false,
2303
2081
  roleDefaults: [],
2304
2082
  notes: "Decisión del propietario 2026-09-29: producto connect, no asignable a tenant (identidad del contacto, coincidencia exacta)."
@@ -2312,11 +2090,10 @@ export const CAPABILITY_CATALOG_DATA = [
2312
2090
  description: "Permite escribir el recurso contact-patient-link del servicio conversations. Claves anteriores: conversations:contact:link-patient.",
2313
2091
  groupKey: "conversations",
2314
2092
  groupDisplayName: "conversations",
2315
- order: 130,
2093
+ order: 124,
2316
2094
  products: ["connect"],
2317
2095
  tenantAssignable: true,
2318
2096
  kind: "operation",
2319
- exactMatch: false,
2320
2097
  serviceToService: false,
2321
2098
  roleDefaults: [],
2322
2099
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2330,11 +2107,10 @@ export const CAPABILITY_CATALOG_DATA = [
2330
2107
  description: "Permite leer el recurso content del servicio conversations.",
2331
2108
  groupKey: "conversations",
2332
2109
  groupDisplayName: "conversations",
2333
- order: 131,
2110
+ order: 125,
2334
2111
  products: ["connect"],
2335
2112
  tenantAssignable: true,
2336
2113
  kind: "operation",
2337
- exactMatch: false,
2338
2114
  serviceToService: false,
2339
2115
  roleDefaults: [],
2340
2116
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2348,11 +2124,10 @@ export const CAPABILITY_CATALOG_DATA = [
2348
2124
  description: "Permite escribir el recurso intent del servicio conversations. Claves anteriores: conversations:intent:record.",
2349
2125
  groupKey: "conversations",
2350
2126
  groupDisplayName: "conversations",
2351
- order: 132,
2127
+ order: 126,
2352
2128
  products: ["connect"],
2353
2129
  tenantAssignable: true,
2354
2130
  kind: "operation",
2355
- exactMatch: false,
2356
2131
  serviceToService: false,
2357
2132
  roleDefaults: [],
2358
2133
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2366,11 +2141,10 @@ export const CAPABILITY_CATALOG_DATA = [
2366
2141
  description: "Permite escribir el recurso message del servicio conversations. Claves anteriores: conversations:message:send.",
2367
2142
  groupKey: "conversations",
2368
2143
  groupDisplayName: "conversations",
2369
- order: 133,
2144
+ order: 127,
2370
2145
  products: ["connect"],
2371
2146
  tenantAssignable: true,
2372
2147
  kind: "operation",
2373
- exactMatch: false,
2374
2148
  serviceToService: false,
2375
2149
  roleDefaults: [],
2376
2150
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2384,11 +2158,10 @@ export const CAPABILITY_CATALOG_DATA = [
2384
2158
  description: "Permite leer el recurso operational-report del servicio conversations. Claves anteriores: conversations:report:operational.",
2385
2159
  groupKey: "conversations",
2386
2160
  groupDisplayName: "conversations",
2387
- order: 134,
2161
+ order: 128,
2388
2162
  products: ["connect"],
2389
2163
  tenantAssignable: true,
2390
2164
  kind: "operation",
2391
- exactMatch: false,
2392
2165
  serviceToService: false,
2393
2166
  roleDefaults: [],
2394
2167
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2402,11 +2175,10 @@ export const CAPABILITY_CATALOG_DATA = [
2402
2175
  description: "Permite escribir el recurso outcome del servicio conversations. Claves anteriores: conversations:outcome:record.",
2403
2176
  groupKey: "conversations",
2404
2177
  groupDisplayName: "conversations",
2405
- order: 135,
2178
+ order: 129,
2406
2179
  products: ["connect"],
2407
2180
  tenantAssignable: true,
2408
2181
  kind: "operation",
2409
- exactMatch: false,
2410
2182
  serviceToService: false,
2411
2183
  roleDefaults: [],
2412
2184
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2420,11 +2192,10 @@ export const CAPABILITY_CATALOG_DATA = [
2420
2192
  description: "Permite leer el recurso report del servicio conversations.",
2421
2193
  groupKey: "conversations",
2422
2194
  groupDisplayName: "conversations",
2423
- order: 136,
2195
+ order: 130,
2424
2196
  products: ["connect"],
2425
2197
  tenantAssignable: true,
2426
2198
  kind: "operation",
2427
- exactMatch: false,
2428
2199
  serviceToService: false,
2429
2200
  roleDefaults: [],
2430
2201
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2438,11 +2209,10 @@ export const CAPABILITY_CATALOG_DATA = [
2438
2209
  description: "Permite leer el recurso timeline del servicio conversations.",
2439
2210
  groupKey: "conversations",
2440
2211
  groupDisplayName: "conversations",
2441
- order: 137,
2212
+ order: 131,
2442
2213
  products: ["connect"],
2443
2214
  tenantAssignable: true,
2444
2215
  kind: "operation",
2445
- exactMatch: false,
2446
2216
  serviceToService: false,
2447
2217
  roleDefaults: [],
2448
2218
  notes: "Decisión del propietario 2026-09-29: producto connect, asignable a tenant."
@@ -2456,11 +2226,10 @@ export const CAPABILITY_CATALOG_DATA = [
2456
2226
  description: "Permite eliminar el dominio del servicio diagnostic-results. Claves anteriores: diagnostic-results:delete.",
2457
2227
  groupKey: "diagnostic-results",
2458
2228
  groupDisplayName: "diagnostic-results",
2459
- order: 138,
2229
+ order: 132,
2460
2230
  products: ["sail"],
2461
2231
  tenantAssignable: true,
2462
2232
  kind: "operation",
2463
- exactMatch: false,
2464
2233
  serviceToService: false,
2465
2234
  roleDefaults: []
2466
2235
  },
@@ -2473,11 +2242,10 @@ export const CAPABILITY_CATALOG_DATA = [
2473
2242
  description: "Permite leer el dominio del servicio diagnostic-results. Claves anteriores: diagnostic-results:read.",
2474
2243
  groupKey: "diagnostic-results",
2475
2244
  groupDisplayName: "diagnostic-results",
2476
- order: 139,
2245
+ order: 133,
2477
2246
  products: ["sail"],
2478
2247
  tenantAssignable: true,
2479
2248
  kind: "operation",
2480
- exactMatch: false,
2481
2249
  serviceToService: false,
2482
2250
  roleDefaults: []
2483
2251
  },
@@ -2490,11 +2258,10 @@ export const CAPABILITY_CATALOG_DATA = [
2490
2258
  description: "Permite escribir el dominio del servicio diagnostic-results. Claves anteriores: diagnostic-results:write.",
2491
2259
  groupKey: "diagnostic-results",
2492
2260
  groupDisplayName: "diagnostic-results",
2493
- order: 140,
2261
+ order: 134,
2494
2262
  products: ["sail"],
2495
2263
  tenantAssignable: true,
2496
2264
  kind: "operation",
2497
- exactMatch: false,
2498
2265
  serviceToService: false,
2499
2266
  roleDefaults: []
2500
2267
  },
@@ -2507,11 +2274,10 @@ export const CAPABILITY_CATALOG_DATA = [
2507
2274
  description: "Permite leer el recurso settings del servicio diagnostic-results.",
2508
2275
  groupKey: "diagnostic-results",
2509
2276
  groupDisplayName: "diagnostic-results",
2510
- order: 141,
2277
+ order: 135,
2511
2278
  products: ["sail"],
2512
2279
  tenantAssignable: true,
2513
2280
  kind: "operation",
2514
- exactMatch: false,
2515
2281
  serviceToService: false,
2516
2282
  roleDefaults: []
2517
2283
  },
@@ -2524,28 +2290,10 @@ export const CAPABILITY_CATALOG_DATA = [
2524
2290
  description: "Permite escribir el recurso settings del servicio diagnostic-results.",
2525
2291
  groupKey: "diagnostic-results",
2526
2292
  groupDisplayName: "diagnostic-results",
2527
- order: 142,
2293
+ order: 136,
2528
2294
  products: ["sail"],
2529
2295
  tenantAssignable: true,
2530
2296
  kind: "operation",
2531
- exactMatch: false,
2532
- serviceToService: false,
2533
- roleDefaults: []
2534
- },
2535
- {
2536
- key: "diagnostic-results:*:read",
2537
- service: "diagnostic-results",
2538
- resource: "*",
2539
- action: "read",
2540
- displayName: "Leer · todos los recursos",
2541
- description: "Grant comodín: satisface las claves de diagnostic-results de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: diagnostic-results:read.",
2542
- groupKey: "diagnostic-results",
2543
- groupDisplayName: "diagnostic-results",
2544
- order: 143,
2545
- products: ["sail"],
2546
- tenantAssignable: true,
2547
- kind: "grant-wildcard",
2548
- exactMatch: false,
2549
2297
  serviceToService: false,
2550
2298
  roleDefaults: []
2551
2299
  },
@@ -2558,11 +2306,10 @@ export const CAPABILITY_CATALOG_DATA = [
2558
2306
  description: "Permite eliminar el recurso campaign del servicio engagement.",
2559
2307
  groupKey: "engagement",
2560
2308
  groupDisplayName: "engagement",
2561
- order: 144,
2309
+ order: 137,
2562
2310
  products: ["connect", "sail"],
2563
2311
  tenantAssignable: true,
2564
2312
  kind: "operation",
2565
- exactMatch: false,
2566
2313
  serviceToService: false,
2567
2314
  roleDefaults: []
2568
2315
  },
@@ -2575,11 +2322,10 @@ export const CAPABILITY_CATALOG_DATA = [
2575
2322
  description: "Permite leer el recurso campaign del servicio engagement.",
2576
2323
  groupKey: "engagement",
2577
2324
  groupDisplayName: "engagement",
2578
- order: 145,
2325
+ order: 138,
2579
2326
  products: ["connect", "sail"],
2580
2327
  tenantAssignable: true,
2581
2328
  kind: "operation",
2582
- exactMatch: false,
2583
2329
  serviceToService: false,
2584
2330
  roleDefaults: []
2585
2331
  },
@@ -2592,11 +2338,10 @@ export const CAPABILITY_CATALOG_DATA = [
2592
2338
  description: "Permite escribir el recurso campaign del servicio engagement.",
2593
2339
  groupKey: "engagement",
2594
2340
  groupDisplayName: "engagement",
2595
- order: 146,
2341
+ order: 139,
2596
2342
  products: ["connect", "sail"],
2597
2343
  tenantAssignable: true,
2598
2344
  kind: "operation",
2599
- exactMatch: false,
2600
2345
  serviceToService: false,
2601
2346
  roleDefaults: []
2602
2347
  },
@@ -2609,11 +2354,10 @@ export const CAPABILITY_CATALOG_DATA = [
2609
2354
  description: "Permite eliminar el recurso campaign-candidate del servicio engagement.",
2610
2355
  groupKey: "engagement",
2611
2356
  groupDisplayName: "engagement",
2612
- order: 147,
2357
+ order: 140,
2613
2358
  products: ["connect", "sail"],
2614
2359
  tenantAssignable: true,
2615
2360
  kind: "operation",
2616
- exactMatch: false,
2617
2361
  serviceToService: false,
2618
2362
  roleDefaults: []
2619
2363
  },
@@ -2626,11 +2370,10 @@ export const CAPABILITY_CATALOG_DATA = [
2626
2370
  description: "Permite leer el recurso campaign-candidate del servicio engagement.",
2627
2371
  groupKey: "engagement",
2628
2372
  groupDisplayName: "engagement",
2629
- order: 148,
2373
+ order: 141,
2630
2374
  products: ["connect", "sail"],
2631
2375
  tenantAssignable: true,
2632
2376
  kind: "operation",
2633
- exactMatch: false,
2634
2377
  serviceToService: false,
2635
2378
  roleDefaults: []
2636
2379
  },
@@ -2643,11 +2386,10 @@ export const CAPABILITY_CATALOG_DATA = [
2643
2386
  description: "Permite escribir el recurso campaign-candidate del servicio engagement.",
2644
2387
  groupKey: "engagement",
2645
2388
  groupDisplayName: "engagement",
2646
- order: 149,
2389
+ order: 142,
2647
2390
  products: ["connect", "sail"],
2648
2391
  tenantAssignable: true,
2649
2392
  kind: "operation",
2650
- exactMatch: false,
2651
2393
  serviceToService: false,
2652
2394
  roleDefaults: []
2653
2395
  },
@@ -2660,11 +2402,10 @@ export const CAPABILITY_CATALOG_DATA = [
2660
2402
  description: "Permite eliminar el recurso campaign-run del servicio engagement.",
2661
2403
  groupKey: "engagement",
2662
2404
  groupDisplayName: "engagement",
2663
- order: 150,
2405
+ order: 143,
2664
2406
  products: ["connect", "sail"],
2665
2407
  tenantAssignable: true,
2666
2408
  kind: "operation",
2667
- exactMatch: false,
2668
2409
  serviceToService: false,
2669
2410
  roleDefaults: []
2670
2411
  },
@@ -2677,11 +2418,10 @@ export const CAPABILITY_CATALOG_DATA = [
2677
2418
  description: "Permite leer el recurso campaign-run del servicio engagement.",
2678
2419
  groupKey: "engagement",
2679
2420
  groupDisplayName: "engagement",
2680
- order: 151,
2421
+ order: 144,
2681
2422
  products: ["connect", "sail"],
2682
2423
  tenantAssignable: true,
2683
2424
  kind: "operation",
2684
- exactMatch: false,
2685
2425
  serviceToService: false,
2686
2426
  roleDefaults: []
2687
2427
  },
@@ -2694,11 +2434,10 @@ export const CAPABILITY_CATALOG_DATA = [
2694
2434
  description: "Permite escribir el recurso campaign-run del servicio engagement.",
2695
2435
  groupKey: "engagement",
2696
2436
  groupDisplayName: "engagement",
2697
- order: 152,
2437
+ order: 145,
2698
2438
  products: ["connect", "sail"],
2699
2439
  tenantAssignable: true,
2700
2440
  kind: "operation",
2701
- exactMatch: false,
2702
2441
  serviceToService: false,
2703
2442
  roleDefaults: []
2704
2443
  },
@@ -2711,11 +2450,10 @@ export const CAPABILITY_CATALOG_DATA = [
2711
2450
  description: "Permite eliminar el recurso candidate-import del servicio engagement.",
2712
2451
  groupKey: "engagement",
2713
2452
  groupDisplayName: "engagement",
2714
- order: 153,
2453
+ order: 146,
2715
2454
  products: ["connect", "sail"],
2716
2455
  tenantAssignable: true,
2717
2456
  kind: "operation",
2718
- exactMatch: false,
2719
2457
  serviceToService: false,
2720
2458
  roleDefaults: []
2721
2459
  },
@@ -2728,11 +2466,10 @@ export const CAPABILITY_CATALOG_DATA = [
2728
2466
  description: "Permite leer el recurso candidate-import del servicio engagement.",
2729
2467
  groupKey: "engagement",
2730
2468
  groupDisplayName: "engagement",
2731
- order: 154,
2469
+ order: 147,
2732
2470
  products: ["connect", "sail"],
2733
2471
  tenantAssignable: true,
2734
2472
  kind: "operation",
2735
- exactMatch: false,
2736
2473
  serviceToService: false,
2737
2474
  roleDefaults: []
2738
2475
  },
@@ -2745,11 +2482,10 @@ export const CAPABILITY_CATALOG_DATA = [
2745
2482
  description: "Permite escribir el recurso candidate-import del servicio engagement.",
2746
2483
  groupKey: "engagement",
2747
2484
  groupDisplayName: "engagement",
2748
- order: 155,
2485
+ order: 148,
2749
2486
  products: ["connect", "sail"],
2750
2487
  tenantAssignable: true,
2751
2488
  kind: "operation",
2752
- exactMatch: false,
2753
2489
  serviceToService: false,
2754
2490
  roleDefaults: []
2755
2491
  },
@@ -2762,11 +2498,10 @@ export const CAPABILITY_CATALOG_DATA = [
2762
2498
  description: "Permite eliminar el recurso conversion del servicio engagement.",
2763
2499
  groupKey: "engagement",
2764
2500
  groupDisplayName: "engagement",
2765
- order: 156,
2501
+ order: 149,
2766
2502
  products: ["connect", "sail"],
2767
2503
  tenantAssignable: true,
2768
2504
  kind: "operation",
2769
- exactMatch: false,
2770
2505
  serviceToService: false,
2771
2506
  roleDefaults: []
2772
2507
  },
@@ -2779,11 +2514,10 @@ export const CAPABILITY_CATALOG_DATA = [
2779
2514
  description: "Permite leer el recurso conversion del servicio engagement.",
2780
2515
  groupKey: "engagement",
2781
2516
  groupDisplayName: "engagement",
2782
- order: 157,
2517
+ order: 150,
2783
2518
  products: ["connect", "sail"],
2784
2519
  tenantAssignable: true,
2785
2520
  kind: "operation",
2786
- exactMatch: false,
2787
2521
  serviceToService: false,
2788
2522
  roleDefaults: []
2789
2523
  },
@@ -2796,11 +2530,10 @@ export const CAPABILITY_CATALOG_DATA = [
2796
2530
  description: "Permite escribir el recurso conversion del servicio engagement.",
2797
2531
  groupKey: "engagement",
2798
2532
  groupDisplayName: "engagement",
2799
- order: 158,
2533
+ order: 151,
2800
2534
  products: ["connect", "sail"],
2801
2535
  tenantAssignable: true,
2802
2536
  kind: "operation",
2803
- exactMatch: false,
2804
2537
  serviceToService: false,
2805
2538
  roleDefaults: []
2806
2539
  },
@@ -2813,11 +2546,10 @@ export const CAPABILITY_CATALOG_DATA = [
2813
2546
  description: "Permite eliminar el dominio del servicio engagement. Claves anteriores: engagement:delete.",
2814
2547
  groupKey: "engagement",
2815
2548
  groupDisplayName: "engagement",
2816
- order: 159,
2549
+ order: 152,
2817
2550
  products: ["connect", "sail"],
2818
2551
  tenantAssignable: true,
2819
2552
  kind: "operation",
2820
- exactMatch: false,
2821
2553
  serviceToService: false,
2822
2554
  roleDefaults: []
2823
2555
  },
@@ -2830,11 +2562,10 @@ export const CAPABILITY_CATALOG_DATA = [
2830
2562
  description: "Permite leer el dominio del servicio engagement. Claves anteriores: engagement:read.",
2831
2563
  groupKey: "engagement",
2832
2564
  groupDisplayName: "engagement",
2833
- order: 160,
2565
+ order: 153,
2834
2566
  products: ["connect", "sail"],
2835
2567
  tenantAssignable: true,
2836
2568
  kind: "operation",
2837
- exactMatch: false,
2838
2569
  serviceToService: false,
2839
2570
  roleDefaults: []
2840
2571
  },
@@ -2847,11 +2578,10 @@ export const CAPABILITY_CATALOG_DATA = [
2847
2578
  description: "Permite escribir el dominio del servicio engagement. Claves anteriores: engagement:write.",
2848
2579
  groupKey: "engagement",
2849
2580
  groupDisplayName: "engagement",
2850
- order: 161,
2581
+ order: 154,
2851
2582
  products: ["connect", "sail"],
2852
2583
  tenantAssignable: true,
2853
2584
  kind: "operation",
2854
- exactMatch: false,
2855
2585
  serviceToService: false,
2856
2586
  roleDefaults: []
2857
2587
  },
@@ -2864,11 +2594,10 @@ export const CAPABILITY_CATALOG_DATA = [
2864
2594
  description: "Permite eliminar el recurso patient-campaign del servicio engagement.",
2865
2595
  groupKey: "engagement",
2866
2596
  groupDisplayName: "engagement",
2867
- order: 162,
2597
+ order: 155,
2868
2598
  products: ["connect", "sail"],
2869
2599
  tenantAssignable: true,
2870
2600
  kind: "operation",
2871
- exactMatch: false,
2872
2601
  serviceToService: false,
2873
2602
  roleDefaults: []
2874
2603
  },
@@ -2881,11 +2610,10 @@ export const CAPABILITY_CATALOG_DATA = [
2881
2610
  description: "Permite leer el recurso patient-campaign del servicio engagement.",
2882
2611
  groupKey: "engagement",
2883
2612
  groupDisplayName: "engagement",
2884
- order: 163,
2613
+ order: 156,
2885
2614
  products: ["connect", "sail"],
2886
2615
  tenantAssignable: true,
2887
2616
  kind: "operation",
2888
- exactMatch: false,
2889
2617
  serviceToService: false,
2890
2618
  roleDefaults: []
2891
2619
  },
@@ -2898,62 +2626,10 @@ export const CAPABILITY_CATALOG_DATA = [
2898
2626
  description: "Permite escribir el recurso patient-campaign del servicio engagement.",
2899
2627
  groupKey: "engagement",
2900
2628
  groupDisplayName: "engagement",
2901
- order: 164,
2629
+ order: 157,
2902
2630
  products: ["connect", "sail"],
2903
2631
  tenantAssignable: true,
2904
2632
  kind: "operation",
2905
- exactMatch: false,
2906
- serviceToService: false,
2907
- roleDefaults: []
2908
- },
2909
- {
2910
- key: "engagement:*:delete",
2911
- service: "engagement",
2912
- resource: "*",
2913
- action: "delete",
2914
- displayName: "Eliminar · todos los recursos",
2915
- description: "Grant comodín: satisface las claves de engagement de cualquier recurso con la acción delete, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: engagement:delete.",
2916
- groupKey: "engagement",
2917
- groupDisplayName: "engagement",
2918
- order: 165,
2919
- products: ["connect", "sail"],
2920
- tenantAssignable: true,
2921
- kind: "grant-wildcard",
2922
- exactMatch: false,
2923
- serviceToService: false,
2924
- roleDefaults: []
2925
- },
2926
- {
2927
- key: "engagement:*:read",
2928
- service: "engagement",
2929
- resource: "*",
2930
- action: "read",
2931
- displayName: "Leer · todos los recursos",
2932
- description: "Grant comodín: satisface las claves de engagement de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: engagement:read.",
2933
- groupKey: "engagement",
2934
- groupDisplayName: "engagement",
2935
- order: 166,
2936
- products: ["connect", "sail"],
2937
- tenantAssignable: true,
2938
- kind: "grant-wildcard",
2939
- exactMatch: false,
2940
- serviceToService: false,
2941
- roleDefaults: []
2942
- },
2943
- {
2944
- key: "engagement:*:write",
2945
- service: "engagement",
2946
- resource: "*",
2947
- action: "write",
2948
- displayName: "Escribir · todos los recursos",
2949
- description: "Grant comodín: satisface las claves de engagement de cualquier recurso con la acción write, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: engagement:write.",
2950
- groupKey: "engagement",
2951
- groupDisplayName: "engagement",
2952
- order: 167,
2953
- products: ["connect", "sail"],
2954
- tenantAssignable: true,
2955
- kind: "grant-wildcard",
2956
- exactMatch: false,
2957
2633
  serviceToService: false,
2958
2634
  roleDefaults: []
2959
2635
  },
@@ -2966,11 +2642,10 @@ export const CAPABILITY_CATALOG_DATA = [
2966
2642
  description: "Permite eliminar el dominio del servicio files. Claves anteriores: files:delete.",
2967
2643
  groupKey: "files",
2968
2644
  groupDisplayName: "files",
2969
- order: 168,
2645
+ order: 158,
2970
2646
  products: ["sail"],
2971
2647
  tenantAssignable: true,
2972
2648
  kind: "operation",
2973
- exactMatch: false,
2974
2649
  serviceToService: false,
2975
2650
  roleDefaults: []
2976
2651
  },
@@ -2983,11 +2658,10 @@ export const CAPABILITY_CATALOG_DATA = [
2983
2658
  description: "Permite descargar el dominio del servicio files. Claves anteriores: files:download.",
2984
2659
  groupKey: "files",
2985
2660
  groupDisplayName: "files",
2986
- order: 169,
2661
+ order: 159,
2987
2662
  products: ["sail"],
2988
2663
  tenantAssignable: true,
2989
2664
  kind: "operation",
2990
- exactMatch: false,
2991
2665
  serviceToService: false,
2992
2666
  roleDefaults: []
2993
2667
  },
@@ -3000,13 +2674,13 @@ export const CAPABILITY_CATALOG_DATA = [
3000
2674
  description: "Permite leer el dominio del servicio files. Claves anteriores: files:read.",
3001
2675
  groupKey: "files",
3002
2676
  groupDisplayName: "files",
3003
- order: 170,
3004
- products: ["sail"],
2677
+ order: 160,
2678
+ products: ["connect", "sail"],
3005
2679
  tenantAssignable: true,
3006
2680
  kind: "operation",
3007
- exactMatch: false,
3008
2681
  serviceToService: false,
3009
- roleDefaults: []
2682
+ roleDefaults: [],
2683
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
3010
2684
  },
3011
2685
  {
3012
2686
  key: "files:domain:write",
@@ -3017,11 +2691,10 @@ export const CAPABILITY_CATALOG_DATA = [
3017
2691
  description: "Permite escribir el dominio del servicio files. Claves anteriores: files:write.",
3018
2692
  groupKey: "files",
3019
2693
  groupDisplayName: "files",
3020
- order: 171,
2694
+ order: 161,
3021
2695
  products: ["sail"],
3022
2696
  tenantAssignable: true,
3023
2697
  kind: "operation",
3024
- exactMatch: false,
3025
2698
  serviceToService: false,
3026
2699
  roleDefaults: []
3027
2700
  },
@@ -3034,11 +2707,10 @@ export const CAPABILITY_CATALOG_DATA = [
3034
2707
  description: "Permite leer el recurso reconcile del servicio files.",
3035
2708
  groupKey: "files",
3036
2709
  groupDisplayName: "files",
3037
- order: 172,
2710
+ order: 162,
3038
2711
  products: ["sail"],
3039
2712
  tenantAssignable: false,
3040
2713
  kind: "operation",
3041
- exactMatch: false,
3042
2714
  serviceToService: false,
3043
2715
  roleDefaults: []
3044
2716
  },
@@ -3051,11 +2723,10 @@ export const CAPABILITY_CATALOG_DATA = [
3051
2723
  description: "Permite escribir el recurso scan-bypass del servicio files.",
3052
2724
  groupKey: "files",
3053
2725
  groupDisplayName: "files",
3054
- order: 173,
2726
+ order: 163,
3055
2727
  products: ["sail"],
3056
2728
  tenantAssignable: false,
3057
2729
  kind: "operation",
3058
- exactMatch: false,
3059
2730
  serviceToService: false,
3060
2731
  roleDefaults: []
3061
2732
  },
@@ -3068,11 +2739,10 @@ export const CAPABILITY_CATALOG_DATA = [
3068
2739
  description: "Permite eliminar el dominio del servicio integration-gateway. Claves anteriores: integration-gateway:delete.",
3069
2740
  groupKey: "integration-gateway",
3070
2741
  groupDisplayName: "integration-gateway",
3071
- order: 174,
2742
+ order: 164,
3072
2743
  products: ["connect", "sail"],
3073
2744
  tenantAssignable: true,
3074
2745
  kind: "operation",
3075
- exactMatch: false,
3076
2746
  serviceToService: false,
3077
2747
  roleDefaults: [],
3078
2748
  notes: "Decisión del propietario 2026-09-29: se confiere al seat técnico de la integración por el admin de la licencia (modelo mixto del Integration Gateway, mismo cableado interno en SAIL y CONNECT). El catálogo no distingue seats técnicos de usuarios: esa restricción, si se quiere, es de Access."
@@ -3086,11 +2756,10 @@ export const CAPABILITY_CATALOG_DATA = [
3086
2756
  description: "Permite ejecutar el dominio del servicio integration-gateway. Claves anteriores: integration-gateway:execute.",
3087
2757
  groupKey: "integration-gateway",
3088
2758
  groupDisplayName: "integration-gateway",
3089
- order: 175,
2759
+ order: 165,
3090
2760
  products: ["connect", "sail"],
3091
2761
  tenantAssignable: true,
3092
2762
  kind: "operation",
3093
- exactMatch: false,
3094
2763
  serviceToService: false,
3095
2764
  roleDefaults: [],
3096
2765
  notes: "Decisión del propietario 2026-09-29: se confiere al seat técnico de la integración por el admin de la licencia (modelo mixto del Integration Gateway, mismo cableado interno en SAIL y CONNECT). El catálogo no distingue seats técnicos de usuarios: esa restricción, si se quiere, es de Access."
@@ -3104,11 +2773,10 @@ export const CAPABILITY_CATALOG_DATA = [
3104
2773
  description: "Permite leer el dominio del servicio integration-gateway. Claves anteriores: integration-gateway:read.",
3105
2774
  groupKey: "integration-gateway",
3106
2775
  groupDisplayName: "integration-gateway",
3107
- order: 176,
2776
+ order: 166,
3108
2777
  products: ["connect", "sail"],
3109
2778
  tenantAssignable: true,
3110
2779
  kind: "operation",
3111
- exactMatch: false,
3112
2780
  serviceToService: false,
3113
2781
  roleDefaults: [],
3114
2782
  notes: "Decisión del propietario 2026-09-29: se confiere al seat técnico de la integración por el admin de la licencia (modelo mixto del Integration Gateway, mismo cableado interno en SAIL y CONNECT). El catálogo no distingue seats técnicos de usuarios: esa restricción, si se quiere, es de Access."
@@ -3122,11 +2790,10 @@ export const CAPABILITY_CATALOG_DATA = [
3122
2790
  description: "Permite escribir el dominio del servicio integration-gateway. Claves anteriores: integration-gateway:write.",
3123
2791
  groupKey: "integration-gateway",
3124
2792
  groupDisplayName: "integration-gateway",
3125
- order: 177,
2793
+ order: 167,
3126
2794
  products: ["connect", "sail"],
3127
2795
  tenantAssignable: true,
3128
2796
  kind: "operation",
3129
- exactMatch: false,
3130
2797
  serviceToService: false,
3131
2798
  roleDefaults: [],
3132
2799
  notes: "Decisión del propietario 2026-09-29: se confiere al seat técnico de la integración por el admin de la licencia (modelo mixto del Integration Gateway, mismo cableado interno en SAIL y CONNECT). El catálogo no distingue seats técnicos de usuarios: esa restricción, si se quiere, es de Access."
@@ -3140,11 +2807,10 @@ export const CAPABILITY_CATALOG_DATA = [
3140
2807
  description: "Permite eliminar el dominio del servicio inventory. Claves anteriores: inventory:delete.",
3141
2808
  groupKey: "inventory",
3142
2809
  groupDisplayName: "inventory",
3143
- order: 178,
2810
+ order: 168,
3144
2811
  products: ["sail"],
3145
2812
  tenantAssignable: true,
3146
2813
  kind: "operation",
3147
- exactMatch: false,
3148
2814
  serviceToService: false,
3149
2815
  roleDefaults: []
3150
2816
  },
@@ -3157,11 +2823,10 @@ export const CAPABILITY_CATALOG_DATA = [
3157
2823
  description: "Permite leer el dominio del servicio inventory. Claves anteriores: inventory:read.",
3158
2824
  groupKey: "inventory",
3159
2825
  groupDisplayName: "inventory",
3160
- order: 179,
2826
+ order: 169,
3161
2827
  products: ["sail"],
3162
2828
  tenantAssignable: true,
3163
2829
  kind: "operation",
3164
- exactMatch: false,
3165
2830
  serviceToService: false,
3166
2831
  roleDefaults: []
3167
2832
  },
@@ -3174,11 +2839,10 @@ export const CAPABILITY_CATALOG_DATA = [
3174
2839
  description: "Permite escribir el dominio del servicio inventory. Claves anteriores: inventory:write.",
3175
2840
  groupKey: "inventory",
3176
2841
  groupDisplayName: "inventory",
3177
- order: 180,
2842
+ order: 170,
3178
2843
  products: ["sail"],
3179
2844
  tenantAssignable: true,
3180
2845
  kind: "operation",
3181
- exactMatch: false,
3182
2846
  serviceToService: false,
3183
2847
  roleDefaults: []
3184
2848
  },
@@ -3191,11 +2855,10 @@ export const CAPABILITY_CATALOG_DATA = [
3191
2855
  description: "Permite escribir el recurso board del servicio medical-board.",
3192
2856
  groupKey: "medical-board",
3193
2857
  groupDisplayName: "medical-board",
3194
- order: 181,
2858
+ order: 171,
3195
2859
  products: ["sail"],
3196
2860
  tenantAssignable: true,
3197
2861
  kind: "operation",
3198
- exactMatch: false,
3199
2862
  serviceToService: false,
3200
2863
  roleDefaults: []
3201
2864
  },
@@ -3208,11 +2871,10 @@ export const CAPABILITY_CATALOG_DATA = [
3208
2871
  description: "Permite escribir el recurso case del servicio medical-board.",
3209
2872
  groupKey: "medical-board",
3210
2873
  groupDisplayName: "medical-board",
3211
- order: 182,
2874
+ order: 172,
3212
2875
  products: ["sail"],
3213
2876
  tenantAssignable: true,
3214
2877
  kind: "operation",
3215
- exactMatch: false,
3216
2878
  serviceToService: false,
3217
2879
  roleDefaults: []
3218
2880
  },
@@ -3225,11 +2887,10 @@ export const CAPABILITY_CATALOG_DATA = [
3225
2887
  description: "Permite eliminar el dominio del servicio medical-board. Claves anteriores: medical-board:delete.",
3226
2888
  groupKey: "medical-board",
3227
2889
  groupDisplayName: "medical-board",
3228
- order: 183,
2890
+ order: 173,
3229
2891
  products: ["sail"],
3230
2892
  tenantAssignable: true,
3231
2893
  kind: "operation",
3232
- exactMatch: false,
3233
2894
  serviceToService: false,
3234
2895
  roleDefaults: []
3235
2896
  },
@@ -3242,11 +2903,10 @@ export const CAPABILITY_CATALOG_DATA = [
3242
2903
  description: "Permite leer el dominio del servicio medical-board. Claves anteriores: medical-board:read.",
3243
2904
  groupKey: "medical-board",
3244
2905
  groupDisplayName: "medical-board",
3245
- order: 184,
2906
+ order: 174,
3246
2907
  products: ["sail"],
3247
2908
  tenantAssignable: true,
3248
2909
  kind: "operation",
3249
- exactMatch: false,
3250
2910
  serviceToService: false,
3251
2911
  roleDefaults: []
3252
2912
  },
@@ -3259,11 +2919,10 @@ export const CAPABILITY_CATALOG_DATA = [
3259
2919
  description: "Permite escribir el recurso participant-template del servicio medical-board.",
3260
2920
  groupKey: "medical-board",
3261
2921
  groupDisplayName: "medical-board",
3262
- order: 185,
2922
+ order: 175,
3263
2923
  products: ["sail"],
3264
2924
  tenantAssignable: true,
3265
2925
  kind: "operation",
3266
- exactMatch: false,
3267
2926
  serviceToService: false,
3268
2927
  roleDefaults: []
3269
2928
  },
@@ -3276,11 +2935,10 @@ export const CAPABILITY_CATALOG_DATA = [
3276
2935
  description: "Permite aprobar el recurso request del servicio medical-board.",
3277
2936
  groupKey: "medical-board",
3278
2937
  groupDisplayName: "medical-board",
3279
- order: 186,
2938
+ order: 176,
3280
2939
  products: ["sail"],
3281
2940
  tenantAssignable: true,
3282
2941
  kind: "operation",
3283
- exactMatch: false,
3284
2942
  serviceToService: false,
3285
2943
  roleDefaults: []
3286
2944
  },
@@ -3293,11 +2951,10 @@ export const CAPABILITY_CATALOG_DATA = [
3293
2951
  description: "Permite escribir el recurso request del servicio medical-board.",
3294
2952
  groupKey: "medical-board",
3295
2953
  groupDisplayName: "medical-board",
3296
- order: 187,
2954
+ order: 177,
3297
2955
  products: ["sail"],
3298
2956
  tenantAssignable: true,
3299
2957
  kind: "operation",
3300
- exactMatch: false,
3301
2958
  serviceToService: false,
3302
2959
  roleDefaults: []
3303
2960
  },
@@ -3310,11 +2967,10 @@ export const CAPABILITY_CATALOG_DATA = [
3310
2967
  description: "Permite escribir el recurso resolution del servicio medical-board.",
3311
2968
  groupKey: "medical-board",
3312
2969
  groupDisplayName: "medical-board",
3313
- order: 188,
2970
+ order: 178,
3314
2971
  products: ["sail"],
3315
2972
  tenantAssignable: true,
3316
2973
  kind: "operation",
3317
- exactMatch: false,
3318
2974
  serviceToService: false,
3319
2975
  roleDefaults: []
3320
2976
  },
@@ -3327,11 +2983,10 @@ export const CAPABILITY_CATALOG_DATA = [
3327
2983
  description: "Permite leer el recurso settings del servicio medical-board.",
3328
2984
  groupKey: "medical-board",
3329
2985
  groupDisplayName: "medical-board",
3330
- order: 189,
2986
+ order: 179,
3331
2987
  products: ["sail"],
3332
2988
  tenantAssignable: true,
3333
2989
  kind: "operation",
3334
- exactMatch: false,
3335
2990
  serviceToService: false,
3336
2991
  roleDefaults: []
3337
2992
  },
@@ -3344,11 +2999,10 @@ export const CAPABILITY_CATALOG_DATA = [
3344
2999
  description: "Permite escribir el recurso settings del servicio medical-board.",
3345
3000
  groupKey: "medical-board",
3346
3001
  groupDisplayName: "medical-board",
3347
- order: 190,
3002
+ order: 180,
3348
3003
  products: ["sail"],
3349
3004
  tenantAssignable: true,
3350
3005
  kind: "operation",
3351
- exactMatch: false,
3352
3006
  serviceToService: false,
3353
3007
  roleDefaults: []
3354
3008
  },
@@ -3361,11 +3015,10 @@ export const CAPABILITY_CATALOG_DATA = [
3361
3015
  description: "Permite escribir el recurso treatment del servicio medical-board.",
3362
3016
  groupKey: "medical-board",
3363
3017
  groupDisplayName: "medical-board",
3364
- order: 191,
3018
+ order: 181,
3365
3019
  products: ["sail"],
3366
3020
  tenantAssignable: true,
3367
3021
  kind: "operation",
3368
- exactMatch: false,
3369
3022
  serviceToService: false,
3370
3023
  roleDefaults: []
3371
3024
  },
@@ -3378,11 +3031,10 @@ export const CAPABILITY_CATALOG_DATA = [
3378
3031
  description: "Permite eliminar el recurso call-history del servicio meetings.",
3379
3032
  groupKey: "meetings",
3380
3033
  groupDisplayName: "meetings",
3381
- order: 192,
3034
+ order: 182,
3382
3035
  products: ["connect", "sail"],
3383
3036
  tenantAssignable: true,
3384
3037
  kind: "operation",
3385
- exactMatch: false,
3386
3038
  serviceToService: false,
3387
3039
  roleDefaults: []
3388
3040
  },
@@ -3395,11 +3047,10 @@ export const CAPABILITY_CATALOG_DATA = [
3395
3047
  description: "Permite leer el recurso call-history del servicio meetings.",
3396
3048
  groupKey: "meetings",
3397
3049
  groupDisplayName: "meetings",
3398
- order: 193,
3050
+ order: 183,
3399
3051
  products: ["connect", "sail"],
3400
3052
  tenantAssignable: true,
3401
3053
  kind: "operation",
3402
- exactMatch: false,
3403
3054
  serviceToService: false,
3404
3055
  roleDefaults: []
3405
3056
  },
@@ -3412,11 +3063,10 @@ export const CAPABILITY_CATALOG_DATA = [
3412
3063
  description: "Permite escribir el recurso call-history del servicio meetings.",
3413
3064
  groupKey: "meetings",
3414
3065
  groupDisplayName: "meetings",
3415
- order: 194,
3066
+ order: 184,
3416
3067
  products: ["connect", "sail"],
3417
3068
  tenantAssignable: true,
3418
3069
  kind: "operation",
3419
- exactMatch: false,
3420
3070
  serviceToService: false,
3421
3071
  roleDefaults: []
3422
3072
  },
@@ -3429,11 +3079,10 @@ export const CAPABILITY_CATALOG_DATA = [
3429
3079
  description: "Permite emitir el recurso join-link del servicio meetings.",
3430
3080
  groupKey: "meetings",
3431
3081
  groupDisplayName: "meetings",
3432
- order: 195,
3082
+ order: 185,
3433
3083
  products: ["connect", "sail"],
3434
3084
  tenantAssignable: true,
3435
3085
  kind: "operation",
3436
- exactMatch: false,
3437
3086
  serviceToService: false,
3438
3087
  roleDefaults: []
3439
3088
  },
@@ -3446,11 +3095,10 @@ export const CAPABILITY_CATALOG_DATA = [
3446
3095
  description: "Permite leer el recurso join-link del servicio meetings.",
3447
3096
  groupKey: "meetings",
3448
3097
  groupDisplayName: "meetings",
3449
- order: 196,
3098
+ order: 186,
3450
3099
  products: ["connect", "sail"],
3451
3100
  tenantAssignable: true,
3452
3101
  kind: "operation",
3453
- exactMatch: false,
3454
3102
  serviceToService: false,
3455
3103
  roleDefaults: []
3456
3104
  },
@@ -3463,11 +3111,10 @@ export const CAPABILITY_CATALOG_DATA = [
3463
3111
  description: "Permite revocar el recurso join-link del servicio meetings.",
3464
3112
  groupKey: "meetings",
3465
3113
  groupDisplayName: "meetings",
3466
- order: 197,
3114
+ order: 187,
3467
3115
  products: ["connect", "sail"],
3468
3116
  tenantAssignable: true,
3469
3117
  kind: "operation",
3470
- exactMatch: false,
3471
3118
  serviceToService: false,
3472
3119
  roleDefaults: []
3473
3120
  },
@@ -3480,11 +3127,10 @@ export const CAPABILITY_CATALOG_DATA = [
3480
3127
  description: "Permite leer el recurso provider-event del servicio meetings.",
3481
3128
  groupKey: "meetings",
3482
3129
  groupDisplayName: "meetings",
3483
- order: 198,
3130
+ order: 188,
3484
3131
  products: ["connect", "sail"],
3485
3132
  tenantAssignable: true,
3486
3133
  kind: "operation",
3487
- exactMatch: false,
3488
3134
  serviceToService: false,
3489
3135
  roleDefaults: []
3490
3136
  },
@@ -3497,14 +3143,13 @@ export const CAPABILITY_CATALOG_DATA = [
3497
3143
  description: "Permite escribir el recurso provider-event del servicio meetings.",
3498
3144
  groupKey: "meetings",
3499
3145
  groupDisplayName: "meetings",
3500
- order: 199,
3146
+ order: 189,
3501
3147
  products: ["connect", "sail"],
3502
3148
  tenantAssignable: false,
3503
3149
  kind: "operation",
3504
- exactMatch: true,
3505
3150
  serviceToService: true,
3506
3151
  roleDefaults: [],
3507
- notes: "Servicio a servicio: eventos del proveedor (meetings-api src/meeting-routes.ts:242-243); exactMatch para que ningún comodín la satisfaga."
3152
+ notes: "Servicio a servicio: eventos del proveedor (meetings-api src/meeting-routes.ts:242-243); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
3508
3153
  },
3509
3154
  {
3510
3155
  key: "meetings:session:delete",
@@ -3515,11 +3160,10 @@ export const CAPABILITY_CATALOG_DATA = [
3515
3160
  description: "Permite eliminar el recurso session del servicio meetings.",
3516
3161
  groupKey: "meetings",
3517
3162
  groupDisplayName: "meetings",
3518
- order: 200,
3163
+ order: 190,
3519
3164
  products: ["connect", "sail"],
3520
3165
  tenantAssignable: true,
3521
3166
  kind: "operation",
3522
- exactMatch: false,
3523
3167
  serviceToService: false,
3524
3168
  roleDefaults: []
3525
3169
  },
@@ -3532,11 +3176,10 @@ export const CAPABILITY_CATALOG_DATA = [
3532
3176
  description: "Permite emitir el recurso session del servicio meetings.",
3533
3177
  groupKey: "meetings",
3534
3178
  groupDisplayName: "meetings",
3535
- order: 201,
3179
+ order: 191,
3536
3180
  products: ["connect", "sail"],
3537
3181
  tenantAssignable: true,
3538
3182
  kind: "operation",
3539
- exactMatch: false,
3540
3183
  serviceToService: false,
3541
3184
  roleDefaults: []
3542
3185
  },
@@ -3546,14 +3189,13 @@ export const CAPABILITY_CATALOG_DATA = [
3546
3189
  resource: "session",
3547
3190
  action: "issue-any",
3548
3191
  displayName: "Emitir · session (cualquier alcance)",
3549
- description: "Permite emitir el recurso session del servicio meetings en cualquier alcance (coincidencia exacta). Claves anteriores: meetings:session:issue:any.",
3192
+ description: "Permite emitir el recurso session del servicio meetings en cualquier alcance. Claves anteriores: meetings:session:issue:any.",
3550
3193
  groupKey: "meetings",
3551
3194
  groupDisplayName: "meetings",
3552
- order: 202,
3195
+ order: 192,
3553
3196
  products: ["connect", "sail"],
3554
3197
  tenantAssignable: false,
3555
3198
  kind: "operation",
3556
- exactMatch: true,
3557
3199
  serviceToService: false,
3558
3200
  roleDefaults: []
3559
3201
  },
@@ -3566,32 +3208,13 @@ export const CAPABILITY_CATALOG_DATA = [
3566
3208
  description: "Permite leer el recurso session del servicio meetings.",
3567
3209
  groupKey: "meetings",
3568
3210
  groupDisplayName: "meetings",
3569
- order: 203,
3211
+ order: 193,
3570
3212
  products: ["connect", "sail"],
3571
3213
  tenantAssignable: true,
3572
3214
  kind: "operation",
3573
- exactMatch: false,
3574
3215
  serviceToService: false,
3575
3216
  roleDefaults: []
3576
3217
  },
3577
- {
3578
- key: "meetings:*:*",
3579
- service: "meetings",
3580
- resource: "*",
3581
- action: "*",
3582
- displayName: "Todas las acciones · todos los recursos",
3583
- description: "Grant comodín: satisface las claves de meetings de cualquier recurso con cualquier acción, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: meetings:*.",
3584
- groupKey: "meetings",
3585
- groupDisplayName: "meetings",
3586
- order: 204,
3587
- products: ["connect", "sail"],
3588
- tenantAssignable: false,
3589
- kind: "grant-wildcard",
3590
- exactMatch: false,
3591
- serviceToService: false,
3592
- roleDefaults: [],
3593
- notes: "Comodín de plataforma (servicio:*:*): nunca asignable a tenant."
3594
- },
3595
3218
  {
3596
3219
  key: "orders:domain:delete",
3597
3220
  service: "orders",
@@ -3601,11 +3224,10 @@ export const CAPABILITY_CATALOG_DATA = [
3601
3224
  description: "Permite eliminar el dominio del servicio orders. Claves anteriores: orders:delete.",
3602
3225
  groupKey: "orders",
3603
3226
  groupDisplayName: "orders",
3604
- order: 205,
3227
+ order: 194,
3605
3228
  products: ["sail"],
3606
3229
  tenantAssignable: true,
3607
3230
  kind: "operation",
3608
- exactMatch: false,
3609
3231
  serviceToService: false,
3610
3232
  roleDefaults: []
3611
3233
  },
@@ -3618,11 +3240,10 @@ export const CAPABILITY_CATALOG_DATA = [
3618
3240
  description: "Permite leer el dominio del servicio orders. Claves anteriores: orders:read.",
3619
3241
  groupKey: "orders",
3620
3242
  groupDisplayName: "orders",
3621
- order: 206,
3243
+ order: 195,
3622
3244
  products: ["sail"],
3623
3245
  tenantAssignable: true,
3624
3246
  kind: "operation",
3625
- exactMatch: false,
3626
3247
  serviceToService: false,
3627
3248
  roleDefaults: []
3628
3249
  },
@@ -3635,11 +3256,10 @@ export const CAPABILITY_CATALOG_DATA = [
3635
3256
  description: "Permite escribir el dominio del servicio orders. Claves anteriores: orders:write.",
3636
3257
  groupKey: "orders",
3637
3258
  groupDisplayName: "orders",
3638
- order: 207,
3259
+ order: 196,
3639
3260
  products: ["sail"],
3640
3261
  tenantAssignable: true,
3641
3262
  kind: "operation",
3642
- exactMatch: false,
3643
3263
  serviceToService: false,
3644
3264
  roleDefaults: []
3645
3265
  },
@@ -3652,11 +3272,10 @@ export const CAPABILITY_CATALOG_DATA = [
3652
3272
  description: "Permite leer el recurso legacy-order del servicio orders. Claves anteriores: orders:read-legacy.",
3653
3273
  groupKey: "orders",
3654
3274
  groupDisplayName: "orders",
3655
- order: 208,
3275
+ order: 197,
3656
3276
  products: ["sail"],
3657
3277
  tenantAssignable: false,
3658
3278
  kind: "operation",
3659
- exactMatch: false,
3660
3279
  serviceToService: false,
3661
3280
  roleDefaults: [],
3662
3281
  notes: "Decisión pendiente (orders:read-legacy): clave de compatibilidad (LEGACY_MOVED_READ_PERMISSION); candidata a retiro."
@@ -3670,11 +3289,10 @@ export const CAPABILITY_CATALOG_DATA = [
3670
3289
  description: "Permite leer el recurso settings del servicio orders.",
3671
3290
  groupKey: "orders",
3672
3291
  groupDisplayName: "orders",
3673
- order: 209,
3292
+ order: 198,
3674
3293
  products: ["sail"],
3675
3294
  tenantAssignable: true,
3676
3295
  kind: "operation",
3677
- exactMatch: false,
3678
3296
  serviceToService: false,
3679
3297
  roleDefaults: []
3680
3298
  },
@@ -3687,11 +3305,10 @@ export const CAPABILITY_CATALOG_DATA = [
3687
3305
  description: "Permite escribir el recurso settings del servicio orders.",
3688
3306
  groupKey: "orders",
3689
3307
  groupDisplayName: "orders",
3690
- order: 210,
3308
+ order: 199,
3691
3309
  products: ["sail"],
3692
3310
  tenantAssignable: true,
3693
3311
  kind: "operation",
3694
- exactMatch: false,
3695
3312
  serviceToService: false,
3696
3313
  roleDefaults: []
3697
3314
  },
@@ -3704,14 +3321,13 @@ export const CAPABILITY_CATALOG_DATA = [
3704
3321
  description: "Permite escribir el recurso campaign-attribution del servicio patient.",
3705
3322
  groupKey: "patient",
3706
3323
  groupDisplayName: "patient",
3707
- order: 211,
3708
- products: ["sail"],
3709
- tenantAssignable: false,
3324
+ order: 200,
3325
+ products: ["connect", "sail"],
3326
+ tenantAssignable: true,
3710
3327
  kind: "operation",
3711
- exactMatch: true,
3712
3328
  serviceToService: false,
3713
3329
  roleDefaults: [],
3714
- notes: "Clave exacta de usuario final: permiso del usuario final que engagement-api comprueba sobre su contexto antes de reenviar la atribución a patient (src/engagement-routes.ts:390-391; patient-api src/patient-routes.ts:267), no una identidad de servicio; se mantiene exactMatch y no asignable hasta que el propietario decida."
3330
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): productos sail y connect y asignable a tenant, porque la exige al usuario final (un seat del tenant): engagement-api la comprueba sobre el usuario que invoca antes de reenviar la atribución con su autorización (src/engagement-routes.ts:390-391) y patient-api la exige en POST /patients/:id/campaign-attributions (src/patient-routes.ts:267, 1758-1759). Sigue siendo una clave write sin lectura implícita. Clave de usuario final de comprobación literal: permiso del usuario final que engagement-api comprueba sobre su contexto antes de reenviar la atribución a patient (src/engagement-routes.ts:390-391; patient-api src/patient-routes.ts:267), no una identidad de servicio."
3715
3331
  },
3716
3332
  {
3717
3333
  key: "patient:config:delete",
@@ -3722,11 +3338,10 @@ export const CAPABILITY_CATALOG_DATA = [
3722
3338
  description: "Permite eliminar el recurso config del servicio patient. Claves anteriores: patient-config:delete.",
3723
3339
  groupKey: "patient",
3724
3340
  groupDisplayName: "patient",
3725
- order: 212,
3341
+ order: 201,
3726
3342
  products: ["connect", "sail"],
3727
3343
  tenantAssignable: true,
3728
3344
  kind: "operation",
3729
- exactMatch: false,
3730
3345
  serviceToService: false,
3731
3346
  roleDefaults: [],
3732
3347
  notes: "Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -3740,11 +3355,10 @@ export const CAPABILITY_CATALOG_DATA = [
3740
3355
  description: "Permite leer el recurso config del servicio patient. Claves anteriores: patient-config:read.",
3741
3356
  groupKey: "patient",
3742
3357
  groupDisplayName: "patient",
3743
- order: 213,
3358
+ order: 202,
3744
3359
  products: ["connect", "sail"],
3745
3360
  tenantAssignable: true,
3746
3361
  kind: "operation",
3747
- exactMatch: false,
3748
3362
  serviceToService: false,
3749
3363
  roleDefaults: [],
3750
3364
  notes: "Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -3758,11 +3372,10 @@ export const CAPABILITY_CATALOG_DATA = [
3758
3372
  description: "Permite escribir el recurso config del servicio patient. Claves anteriores: patient-config:write.",
3759
3373
  groupKey: "patient",
3760
3374
  groupDisplayName: "patient",
3761
- order: 214,
3375
+ order: 203,
3762
3376
  products: ["connect", "sail"],
3763
3377
  tenantAssignable: true,
3764
3378
  kind: "operation",
3765
- exactMatch: false,
3766
3379
  serviceToService: false,
3767
3380
  roleDefaults: [],
3768
3381
  notes: "Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -3776,11 +3389,10 @@ export const CAPABILITY_CATALOG_DATA = [
3776
3389
  description: "Permite eliminar el recurso consent del servicio patient.",
3777
3390
  groupKey: "patient",
3778
3391
  groupDisplayName: "patient",
3779
- order: 215,
3392
+ order: 204,
3780
3393
  products: ["sail"],
3781
3394
  tenantAssignable: true,
3782
3395
  kind: "operation",
3783
- exactMatch: false,
3784
3396
  serviceToService: false,
3785
3397
  roleDefaults: []
3786
3398
  },
@@ -3793,11 +3405,10 @@ export const CAPABILITY_CATALOG_DATA = [
3793
3405
  description: "Permite leer el recurso consent del servicio patient.",
3794
3406
  groupKey: "patient",
3795
3407
  groupDisplayName: "patient",
3796
- order: 216,
3408
+ order: 205,
3797
3409
  products: ["sail"],
3798
3410
  tenantAssignable: true,
3799
3411
  kind: "operation",
3800
- exactMatch: false,
3801
3412
  serviceToService: false,
3802
3413
  roleDefaults: []
3803
3414
  },
@@ -3810,11 +3421,10 @@ export const CAPABILITY_CATALOG_DATA = [
3810
3421
  description: "Permite escribir el recurso consent del servicio patient.",
3811
3422
  groupKey: "patient",
3812
3423
  groupDisplayName: "patient",
3813
- order: 217,
3424
+ order: 206,
3814
3425
  products: ["sail"],
3815
3426
  tenantAssignable: true,
3816
3427
  kind: "operation",
3817
- exactMatch: false,
3818
3428
  serviceToService: false,
3819
3429
  roleDefaults: []
3820
3430
  },
@@ -3827,11 +3437,10 @@ export const CAPABILITY_CATALOG_DATA = [
3827
3437
  description: "Permite eliminar el recurso consent-type del servicio patient.",
3828
3438
  groupKey: "patient",
3829
3439
  groupDisplayName: "patient",
3830
- order: 218,
3440
+ order: 207,
3831
3441
  products: ["sail"],
3832
3442
  tenantAssignable: true,
3833
3443
  kind: "operation",
3834
- exactMatch: false,
3835
3444
  serviceToService: false,
3836
3445
  roleDefaults: []
3837
3446
  },
@@ -3844,11 +3453,10 @@ export const CAPABILITY_CATALOG_DATA = [
3844
3453
  description: "Permite leer el recurso consent-type del servicio patient.",
3845
3454
  groupKey: "patient",
3846
3455
  groupDisplayName: "patient",
3847
- order: 219,
3456
+ order: 208,
3848
3457
  products: ["sail"],
3849
3458
  tenantAssignable: true,
3850
3459
  kind: "operation",
3851
- exactMatch: false,
3852
3460
  serviceToService: false,
3853
3461
  roleDefaults: []
3854
3462
  },
@@ -3861,11 +3469,10 @@ export const CAPABILITY_CATALOG_DATA = [
3861
3469
  description: "Permite escribir el recurso consent-type del servicio patient.",
3862
3470
  groupKey: "patient",
3863
3471
  groupDisplayName: "patient",
3864
- order: 220,
3472
+ order: 209,
3865
3473
  products: ["sail"],
3866
3474
  tenantAssignable: true,
3867
3475
  kind: "operation",
3868
- exactMatch: false,
3869
3476
  serviceToService: false,
3870
3477
  roleDefaults: []
3871
3478
  },
@@ -3878,14 +3485,13 @@ export const CAPABILITY_CATALOG_DATA = [
3878
3485
  description: "Permite leer el recurso contact del servicio patient.",
3879
3486
  groupKey: "patient",
3880
3487
  groupDisplayName: "patient",
3881
- order: 221,
3488
+ order: 210,
3882
3489
  products: ["sail"],
3883
3490
  tenantAssignable: false,
3884
3491
  kind: "operation",
3885
- exactMatch: true,
3886
3492
  serviceToService: true,
3887
3493
  roleDefaults: [],
3888
- notes: "Servicio a servicio: solo con token de servicio (patient-api src/seed-auth.ts:503, 522-535); la emite schedules-api (src/schedule-cancellation-email.ts:64); exactMatch para que ningún comodín la satisfaga."
3494
+ notes: "Servicio a servicio: solo con token de servicio (patient-api src/seed-auth.ts:503, 522-535); la emite schedules-api (src/schedule-cancellation-email.ts:64); no asignable a tenant y omitida de los grants de usuario migrados (E1)."
3889
3495
  },
3890
3496
  {
3891
3497
  key: "patient:domain:delete",
@@ -3896,11 +3502,10 @@ export const CAPABILITY_CATALOG_DATA = [
3896
3502
  description: "Permite eliminar el dominio del servicio patient. Claves anteriores: patient:delete.",
3897
3503
  groupKey: "patient",
3898
3504
  groupDisplayName: "patient",
3899
- order: 222,
3505
+ order: 211,
3900
3506
  products: ["sail"],
3901
3507
  tenantAssignable: true,
3902
3508
  kind: "operation",
3903
- exactMatch: false,
3904
3509
  serviceToService: false,
3905
3510
  roleDefaults: []
3906
3511
  },
@@ -3913,13 +3518,13 @@ export const CAPABILITY_CATALOG_DATA = [
3913
3518
  description: "Permite leer el dominio del servicio patient. Claves anteriores: patient:read.",
3914
3519
  groupKey: "patient",
3915
3520
  groupDisplayName: "patient",
3916
- order: 223,
3917
- products: ["sail"],
3521
+ order: 212,
3522
+ products: ["connect", "sail"],
3918
3523
  tenantAssignable: true,
3919
3524
  kind: "operation",
3920
- exactMatch: false,
3921
3525
  serviceToService: false,
3922
- roleDefaults: []
3526
+ roleDefaults: [],
3527
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
3923
3528
  },
3924
3529
  {
3925
3530
  key: "patient:domain:write",
@@ -3930,11 +3535,10 @@ export const CAPABILITY_CATALOG_DATA = [
3930
3535
  description: "Permite escribir el dominio del servicio patient. Claves anteriores: patient:write.",
3931
3536
  groupKey: "patient",
3932
3537
  groupDisplayName: "patient",
3933
- order: 224,
3538
+ order: 213,
3934
3539
  products: ["sail"],
3935
3540
  tenantAssignable: true,
3936
3541
  kind: "operation",
3937
- exactMatch: false,
3938
3542
  serviceToService: false,
3939
3543
  roleDefaults: []
3940
3544
  },
@@ -3947,11 +3551,10 @@ export const CAPABILITY_CATALOG_DATA = [
3947
3551
  description: "Permite reservar el recurso identifier del servicio patient.",
3948
3552
  groupKey: "patient",
3949
3553
  groupDisplayName: "patient",
3950
- order: 225,
3554
+ order: 214,
3951
3555
  products: ["connect", "sail"],
3952
3556
  tenantAssignable: true,
3953
3557
  kind: "operation",
3954
- exactMatch: false,
3955
3558
  serviceToService: false,
3956
3559
  roleDefaults: [],
3957
3560
  notes: "Productos y asignabilidad unidos con las claves viejas que también la conceden (patient-identifier-series:write)."
@@ -3965,11 +3568,10 @@ export const CAPABILITY_CATALOG_DATA = [
3965
3568
  description: "Permite anular el recurso identifier del servicio patient. Claves anteriores: patient-identifier-series:override.",
3966
3569
  groupKey: "patient",
3967
3570
  groupDisplayName: "patient",
3968
- order: 226,
3571
+ order: 215,
3969
3572
  products: ["connect", "sail"],
3970
3573
  tenantAssignable: true,
3971
3574
  kind: "operation",
3972
- exactMatch: false,
3973
3575
  serviceToService: false,
3974
3576
  roleDefaults: [],
3975
3577
  notes: "Colisión (patient-identifier-series:override: connect, sail, tenantAssignable false; patient:identifier:void: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Producto sin decidir en el mapa para patient-identifier-series:override. Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -3983,11 +3585,10 @@ export const CAPABILITY_CATALOG_DATA = [
3983
3585
  description: "Permite leer el recurso identifier-series del servicio patient. Claves anteriores: patient-identifier-series:read.",
3984
3586
  groupKey: "patient",
3985
3587
  groupDisplayName: "patient",
3986
- order: 227,
3588
+ order: 216,
3987
3589
  products: ["connect", "sail"],
3988
3590
  tenantAssignable: true,
3989
3591
  kind: "operation",
3990
- exactMatch: false,
3991
3592
  serviceToService: false,
3992
3593
  roleDefaults: [],
3993
3594
  notes: "Colisión (patient-identifier-series:read: connect, sail, tenantAssignable true; patient:identifier-series:read: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Producto sin decidir en el mapa para patient-identifier-series:read. Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -4001,11 +3602,10 @@ export const CAPABILITY_CATALOG_DATA = [
4001
3602
  description: "Permite escribir el recurso identifier-series del servicio patient. Claves anteriores: patient-identifier-series:write.",
4002
3603
  groupKey: "patient",
4003
3604
  groupDisplayName: "patient",
4004
- order: 228,
3605
+ order: 217,
4005
3606
  products: ["connect", "sail"],
4006
3607
  tenantAssignable: true,
4007
3608
  kind: "operation",
4008
- exactMatch: false,
4009
3609
  serviceToService: false,
4010
3610
  roleDefaults: [],
4011
3611
  notes: "Colisión (patient-identifier-series:write: connect, sail, tenantAssignable true; patient:identifier-series:write: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Producto sin decidir en el mapa para patient-identifier-series:write. Decisión del propietario 2026-09-29: productos sail y connect, asignable a tenant."
@@ -4019,11 +3619,10 @@ export const CAPABILITY_CATALOG_DATA = [
4019
3619
  description: "Permite leer el recurso settings del servicio patient.",
4020
3620
  groupKey: "patient",
4021
3621
  groupDisplayName: "patient",
4022
- order: 229,
3622
+ order: 218,
4023
3623
  products: ["connect", "sail"],
4024
3624
  tenantAssignable: true,
4025
3625
  kind: "operation",
4026
- exactMatch: false,
4027
3626
  serviceToService: false,
4028
3627
  roleDefaults: [],
4029
3628
  notes: "Productos y asignabilidad unidos con las claves viejas que también la conceden (patient-config:read, patient:read)."
@@ -4037,11 +3636,10 @@ export const CAPABILITY_CATALOG_DATA = [
4037
3636
  description: "Permite escribir el recurso settings del servicio patient.",
4038
3637
  groupKey: "patient",
4039
3638
  groupDisplayName: "patient",
4040
- order: 230,
3639
+ order: 219,
4041
3640
  products: ["sail"],
4042
3641
  tenantAssignable: true,
4043
3642
  kind: "operation",
4044
- exactMatch: false,
4045
3643
  serviceToService: false,
4046
3644
  roleDefaults: []
4047
3645
  },
@@ -4054,13 +3652,13 @@ export const CAPABILITY_CATALOG_DATA = [
4054
3652
  description: "Permite eliminar el dominio del servicio questionnaire. Claves anteriores: questionnaire:delete.",
4055
3653
  groupKey: "questionnaire",
4056
3654
  groupDisplayName: "questionnaire",
4057
- order: 231,
4058
- products: ["sail"],
3655
+ order: 220,
3656
+ products: ["connect", "sail"],
4059
3657
  tenantAssignable: true,
4060
3658
  kind: "operation",
4061
- exactMatch: false,
4062
3659
  serviceToService: false,
4063
- roleDefaults: []
3660
+ roleDefaults: [],
3661
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
4064
3662
  },
4065
3663
  {
4066
3664
  key: "questionnaire:domain:read",
@@ -4071,13 +3669,13 @@ export const CAPABILITY_CATALOG_DATA = [
4071
3669
  description: "Permite leer el dominio del servicio questionnaire. Claves anteriores: questionnaire:read.",
4072
3670
  groupKey: "questionnaire",
4073
3671
  groupDisplayName: "questionnaire",
4074
- order: 232,
4075
- products: ["sail"],
3672
+ order: 221,
3673
+ products: ["connect", "sail"],
4076
3674
  tenantAssignable: true,
4077
3675
  kind: "operation",
4078
- exactMatch: false,
4079
3676
  serviceToService: false,
4080
- roleDefaults: []
3677
+ roleDefaults: [],
3678
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
4081
3679
  },
4082
3680
  {
4083
3681
  key: "questionnaire:domain:write",
@@ -4088,13 +3686,13 @@ export const CAPABILITY_CATALOG_DATA = [
4088
3686
  description: "Permite escribir el dominio del servicio questionnaire. Claves anteriores: questionnaire:write.",
4089
3687
  groupKey: "questionnaire",
4090
3688
  groupDisplayName: "questionnaire",
4091
- order: 233,
4092
- products: ["sail"],
3689
+ order: 222,
3690
+ products: ["connect", "sail"],
4093
3691
  tenantAssignable: true,
4094
3692
  kind: "operation",
4095
- exactMatch: false,
4096
3693
  serviceToService: false,
4097
- roleDefaults: []
3694
+ roleDefaults: [],
3695
+ notes: "Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags."
4098
3696
  },
4099
3697
  {
4100
3698
  key: "reference-data:domain:read",
@@ -4105,11 +3703,10 @@ export const CAPABILITY_CATALOG_DATA = [
4105
3703
  description: "Permite leer el dominio del servicio reference-data. Claves anteriores: reference-data:read.",
4106
3704
  groupKey: "reference-data",
4107
3705
  groupDisplayName: "reference-data",
4108
- order: 234,
3706
+ order: 223,
4109
3707
  products: ["sail"],
4110
3708
  tenantAssignable: true,
4111
3709
  kind: "operation",
4112
- exactMatch: false,
4113
3710
  serviceToService: false,
4114
3711
  roleDefaults: [],
4115
3712
  notes: "Decisión pendiente (reference-data:read): el servicio no comprueba ninguna clave (K6); la clave solo tiene efecto cuando reference-data la exija."
@@ -4123,11 +3720,10 @@ export const CAPABILITY_CATALOG_DATA = [
4123
3720
  description: "Permite escribir el dominio del servicio reference-data. Claves anteriores: reference-data:write.",
4124
3721
  groupKey: "reference-data",
4125
3722
  groupDisplayName: "reference-data",
4126
- order: 235,
3723
+ order: 224,
4127
3724
  products: ["sail"],
4128
3725
  tenantAssignable: true,
4129
3726
  kind: "operation",
4130
- exactMatch: false,
4131
3727
  serviceToService: false,
4132
3728
  roleDefaults: [],
4133
3729
  notes: "Decisión pendiente (reference-data:write): el servicio no comprueba ninguna clave (K6); la clave solo tiene efecto cuando reference-data la exija."
@@ -4141,11 +3737,10 @@ export const CAPABILITY_CATALOG_DATA = [
4141
3737
  description: "Permite eliminar el dominio del servicio reports. Claves anteriores: reports:delete.",
4142
3738
  groupKey: "reports",
4143
3739
  groupDisplayName: "reports",
4144
- order: 236,
3740
+ order: 225,
4145
3741
  products: ["sail"],
4146
3742
  tenantAssignable: true,
4147
3743
  kind: "operation",
4148
- exactMatch: false,
4149
3744
  serviceToService: false,
4150
3745
  roleDefaults: []
4151
3746
  },
@@ -4158,11 +3753,10 @@ export const CAPABILITY_CATALOG_DATA = [
4158
3753
  description: "Permite leer el dominio del servicio reports. Claves anteriores: reports:read.",
4159
3754
  groupKey: "reports",
4160
3755
  groupDisplayName: "reports",
4161
- order: 237,
3756
+ order: 226,
4162
3757
  products: ["sail"],
4163
3758
  tenantAssignable: true,
4164
3759
  kind: "operation",
4165
- exactMatch: false,
4166
3760
  serviceToService: false,
4167
3761
  roleDefaults: []
4168
3762
  },
@@ -4175,11 +3769,10 @@ export const CAPABILITY_CATALOG_DATA = [
4175
3769
  description: "Permite escribir el dominio del servicio reports. Claves anteriores: reports:write.",
4176
3770
  groupKey: "reports",
4177
3771
  groupDisplayName: "reports",
4178
- order: 238,
3772
+ order: 227,
4179
3773
  products: ["sail"],
4180
3774
  tenantAssignable: true,
4181
3775
  kind: "operation",
4182
- exactMatch: false,
4183
3776
  serviceToService: false,
4184
3777
  roleDefaults: []
4185
3778
  },
@@ -4192,11 +3785,10 @@ export const CAPABILITY_CATALOG_DATA = [
4192
3785
  description: "Permite ejecutar el recurso render del servicio reports. Claves anteriores: reports:render.",
4193
3786
  groupKey: "reports",
4194
3787
  groupDisplayName: "reports",
4195
- order: 239,
3788
+ order: 228,
4196
3789
  products: ["sail"],
4197
3790
  tenantAssignable: true,
4198
3791
  kind: "operation",
4199
- exactMatch: false,
4200
3792
  serviceToService: false,
4201
3793
  roleDefaults: []
4202
3794
  },
@@ -4209,11 +3801,10 @@ export const CAPABILITY_CATALOG_DATA = [
4209
3801
  description: "Permite leer el recurso settings del servicio reports.",
4210
3802
  groupKey: "reports",
4211
3803
  groupDisplayName: "reports",
4212
- order: 240,
3804
+ order: 229,
4213
3805
  products: ["sail"],
4214
3806
  tenantAssignable: true,
4215
3807
  kind: "operation",
4216
- exactMatch: false,
4217
3808
  serviceToService: false,
4218
3809
  roleDefaults: []
4219
3810
  },
@@ -4226,28 +3817,10 @@ export const CAPABILITY_CATALOG_DATA = [
4226
3817
  description: "Permite escribir el recurso settings del servicio reports.",
4227
3818
  groupKey: "reports",
4228
3819
  groupDisplayName: "reports",
4229
- order: 241,
3820
+ order: 230,
4230
3821
  products: ["sail"],
4231
3822
  tenantAssignable: true,
4232
3823
  kind: "operation",
4233
- exactMatch: false,
4234
- serviceToService: false,
4235
- roleDefaults: []
4236
- },
4237
- {
4238
- key: "reports:*:read",
4239
- service: "reports",
4240
- resource: "*",
4241
- action: "read",
4242
- displayName: "Leer · todos los recursos",
4243
- description: "Grant comodín: satisface las claves de reports de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: reports:read.",
4244
- groupKey: "reports",
4245
- groupDisplayName: "reports",
4246
- order: 242,
4247
- products: ["sail"],
4248
- tenantAssignable: true,
4249
- kind: "grant-wildcard",
4250
- exactMatch: false,
4251
3824
  serviceToService: false,
4252
3825
  roleDefaults: []
4253
3826
  },
@@ -4260,11 +3833,10 @@ export const CAPABILITY_CATALOG_DATA = [
4260
3833
  description: "Permite eliminar el dominio del servicio revenue-cycle. Claves anteriores: revenue-cycle:delete.",
4261
3834
  groupKey: "revenue-cycle",
4262
3835
  groupDisplayName: "revenue-cycle",
4263
- order: 243,
3836
+ order: 231,
4264
3837
  products: ["sail"],
4265
3838
  tenantAssignable: true,
4266
3839
  kind: "operation",
4267
- exactMatch: false,
4268
3840
  serviceToService: false,
4269
3841
  roleDefaults: []
4270
3842
  },
@@ -4277,11 +3849,10 @@ export const CAPABILITY_CATALOG_DATA = [
4277
3849
  description: "Permite leer el dominio del servicio revenue-cycle. Claves anteriores: revenue-cycle:read.",
4278
3850
  groupKey: "revenue-cycle",
4279
3851
  groupDisplayName: "revenue-cycle",
4280
- order: 244,
3852
+ order: 232,
4281
3853
  products: ["sail"],
4282
3854
  tenantAssignable: true,
4283
3855
  kind: "operation",
4284
- exactMatch: false,
4285
3856
  serviceToService: false,
4286
3857
  roleDefaults: []
4287
3858
  },
@@ -4294,64 +3865,63 @@ export const CAPABILITY_CATALOG_DATA = [
4294
3865
  description: "Permite escribir el dominio del servicio revenue-cycle. Claves anteriores: revenue-cycle:write.",
4295
3866
  groupKey: "revenue-cycle",
4296
3867
  groupDisplayName: "revenue-cycle",
4297
- order: 245,
3868
+ order: 233,
4298
3869
  products: ["sail"],
4299
3870
  tenantAssignable: true,
4300
3871
  kind: "operation",
4301
- exactMatch: false,
4302
3872
  serviceToService: false,
4303
3873
  roleDefaults: []
4304
3874
  },
4305
3875
  {
4306
- key: "schedules:domain:delete",
3876
+ key: "schedules:agenda:delete",
4307
3877
  service: "schedules",
4308
- resource: "domain",
3878
+ resource: "agenda",
4309
3879
  action: "delete",
4310
- displayName: "Eliminar · dominio",
4311
- description: "Permite eliminar el dominio del servicio schedules. Claves anteriores: schedules:delete.",
3880
+ displayName: "Cancelar en la agenda",
3881
+ description: "Permite cancelar y eliminar eventos de agenda y revocar tokens de cita (sustituye al nivel 4 de Agenda/Appointment). Qué agendas lo decide el workGrant agenda, no la clave. Claves anteriores: schedules:delete, schedules:token:delete.",
4312
3882
  groupKey: "schedules",
4313
3883
  groupDisplayName: "schedules",
4314
- order: 246,
3884
+ order: 234,
4315
3885
  products: ["sail"],
4316
3886
  tenantAssignable: true,
4317
3887
  kind: "operation",
4318
- exactMatch: false,
4319
3888
  serviceToService: false,
4320
- roleDefaults: []
3889
+ roleDefaults: [],
3890
+ notes: "Colisión (schedules:delete: sail, tenantAssignable true; schedules:token:delete: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Metadatos curados (CURATED_METADATA): informe del Analyst 12, secciones 1.4 y 2.2; schedules-api src/schedule-routes.ts:1530, 1538 (eventos) y 1680 (tokens)."
4321
3891
  },
4322
3892
  {
4323
- key: "schedules:domain:read",
3893
+ key: "schedules:agenda:read",
4324
3894
  service: "schedules",
4325
- resource: "domain",
3895
+ resource: "agenda",
4326
3896
  action: "read",
4327
- displayName: "Leer · dominio",
4328
- description: "Permite leer el dominio del servicio schedules. Claves anteriores: schedules:read.",
3897
+ displayName: "Ver agenda",
3898
+ description: "Permite leer cualquier evento de agenda (citas, solicitudes, recepciones, procedimientos, eventos, logs, juntas y recursos) y validar tokens de cita. Qué agendas lo decide el workGrant agenda, no la clave. Claves anteriores: schedules:read, schedules:token:read.",
4329
3899
  groupKey: "schedules",
4330
3900
  groupDisplayName: "schedules",
4331
- order: 247,
4332
- products: ["sail"],
3901
+ order: 235,
3902
+ products: ["connect", "sail"],
4333
3903
  tenantAssignable: true,
4334
3904
  kind: "operation",
4335
- exactMatch: false,
4336
3905
  serviceToService: false,
4337
- roleDefaults: []
3906
+ roleDefaults: [],
3907
+ notes: "Colisión (schedules:read: sail, tenantAssignable true; schedules:token:read: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Decisión del propietario 2026-09-30 (0.2.0-dev.1, traspaso de la sesión CONNECT): clave compartida por SAIL y CONNECT, productos sail y connect; no hay claves más estrechas para CONNECT. Sin cambios en los demás flags. Metadatos curados (CURATED_METADATA): informe del Analyst 12, sección 2.2; schedules-api src/schedule-routes.ts:1343-1579 (eventos) y 1675, 1691 (tokens)."
4338
3908
  },
4339
3909
  {
4340
- key: "schedules:domain:write",
3910
+ key: "schedules:agenda:write",
4341
3911
  service: "schedules",
4342
- resource: "domain",
3912
+ resource: "agenda",
4343
3913
  action: "write",
4344
- displayName: "Escribir · dominio",
4345
- description: "Permite escribir el dominio del servicio schedules. Claves anteriores: schedules:write.",
3914
+ displayName: "Gestionar agenda",
3915
+ description: "Permite crear y editar cualquier evento de agenda y emitir tokens de cita (sustituye a los niveles 2 y 3 de Agenda/Appointment, decisión E2). Qué agendas lo decide el workGrant agenda, no la clave. Claves anteriores: schedules:token:write, schedules:write.",
4346
3916
  groupKey: "schedules",
4347
3917
  groupDisplayName: "schedules",
4348
- order: 248,
3918
+ order: 236,
4349
3919
  products: ["sail"],
4350
3920
  tenantAssignable: true,
4351
3921
  kind: "operation",
4352
- exactMatch: false,
4353
3922
  serviceToService: false,
4354
- roleDefaults: []
3923
+ roleDefaults: [],
3924
+ notes: "Colisión (schedules:token:write: sail, tenantAssignable true; schedules:write: sail, tenantAssignable true): misma semántica; productos = unión y tenantAssignable = OR de las fuentes (regla de colisiones de la revisión interna). Metadatos curados (CURATED_METADATA): informe del Analyst 12, secciones 1.4 y 2.2; schedules-api src/schedule-routes.ts:768-1594 (eventos) y 1622 (tokens)."
4355
3925
  },
4356
3926
  {
4357
3927
  key: "schedules:schedule-profile:delete",
@@ -4362,14 +3932,13 @@ export const CAPABILITY_CATALOG_DATA = [
4362
3932
  description: "Permite desactivar, retirar y eliminar perfiles de agenda del tenant (perfiles, turnos y disponibilidad como un único recurso).",
4363
3933
  groupKey: "schedules",
4364
3934
  groupDisplayName: "schedules",
4365
- order: 249,
3935
+ order: 237,
4366
3936
  products: ["sail"],
4367
- tenantAssignable: false,
3937
+ tenantAssignable: true,
4368
3938
  kind: "operation",
4369
- exactMatch: true,
4370
3939
  serviceToService: false,
4371
- roleDefaults: ["tenant_admin"],
4372
- notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): solo para administradores de tenant; un comodín como schedules:*:read nunca la satisface. Producto tomado de las entradas schedules del mapa (sail); no decidido para Schedule Profiles."
3940
+ roleDefaults: [],
3941
+ notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): configuración de perfiles, turnos y disponibilidad (/profiles, /shifts, /hoursOfOperations) como un único recurso. Decisión del propietario 2026-09-30 (E4): asignable a tenant y sin roleDefaults, porque conferir es explícito; ninguna clave vieja migra a ella y no se aplica la regla de nivel Agenda/ScheduleProfiles (D8). Producto tomado de las entradas schedules del mapa (sail)."
4373
3942
  },
4374
3943
  {
4375
3944
  key: "schedules:schedule-profile:read",
@@ -4380,14 +3949,13 @@ export const CAPABILITY_CATALOG_DATA = [
4380
3949
  description: "Permite consultar los perfiles de agenda del tenant (perfiles, turnos y disponibilidad como un único recurso).",
4381
3950
  groupKey: "schedules",
4382
3951
  groupDisplayName: "schedules",
4383
- order: 250,
3952
+ order: 238,
4384
3953
  products: ["sail"],
4385
- tenantAssignable: false,
3954
+ tenantAssignable: true,
4386
3955
  kind: "operation",
4387
- exactMatch: true,
4388
3956
  serviceToService: false,
4389
- roleDefaults: ["tenant_admin"],
4390
- notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): solo para administradores de tenant; un comodín como schedules:*:read nunca la satisface. Producto tomado de las entradas schedules del mapa (sail); no decidido para Schedule Profiles."
3957
+ roleDefaults: [],
3958
+ notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): configuración de perfiles, turnos y disponibilidad (/profiles, /shifts, /hoursOfOperations) como un único recurso. Decisión del propietario 2026-09-30 (E4): asignable a tenant y sin roleDefaults, porque conferir es explícito; ninguna clave vieja migra a ella y no se aplica la regla de nivel Agenda/ScheduleProfiles (D8). Producto tomado de las entradas schedules del mapa (sail)."
4391
3959
  },
4392
3960
  {
4393
3961
  key: "schedules:schedule-profile:write",
@@ -4398,14 +3966,13 @@ export const CAPABILITY_CATALOG_DATA = [
4398
3966
  description: "Permite crear, editar y activar perfiles de agenda del tenant (perfiles, turnos y disponibilidad como un único recurso).",
4399
3967
  groupKey: "schedules",
4400
3968
  groupDisplayName: "schedules",
4401
- order: 251,
3969
+ order: 239,
4402
3970
  products: ["sail"],
4403
- tenantAssignable: false,
3971
+ tenantAssignable: true,
4404
3972
  kind: "operation",
4405
- exactMatch: true,
4406
3973
  serviceToService: false,
4407
- roleDefaults: ["tenant_admin"],
4408
- notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): solo para administradores de tenant; un comodín como schedules:*:read nunca la satisface. Producto tomado de las entradas schedules del mapa (sail); no decidido para Schedule Profiles."
3974
+ roleDefaults: [],
3975
+ notes: "Entrada añadida fuera del mapa (Schedule Profiles, decisión del propietario 2026-09-29): configuración de perfiles, turnos y disponibilidad (/profiles, /shifts, /hoursOfOperations) como un único recurso. Decisión del propietario 2026-09-30 (E4): asignable a tenant y sin roleDefaults, porque conferir es explícito; ninguna clave vieja migra a ella y no se aplica la regla de nivel Agenda/ScheduleProfiles (D8). Producto tomado de las entradas schedules del mapa (sail)."
4409
3976
  },
4410
3977
  {
4411
3978
  key: "schedules:settings:delete",
@@ -4416,11 +3983,10 @@ export const CAPABILITY_CATALOG_DATA = [
4416
3983
  description: "Permite eliminar el recurso settings del servicio schedules.",
4417
3984
  groupKey: "schedules",
4418
3985
  groupDisplayName: "schedules",
4419
- order: 252,
3986
+ order: 240,
4420
3987
  products: ["sail"],
4421
3988
  tenantAssignable: true,
4422
3989
  kind: "operation",
4423
- exactMatch: false,
4424
3990
  serviceToService: false,
4425
3991
  roleDefaults: []
4426
3992
  },
@@ -4433,11 +3999,10 @@ export const CAPABILITY_CATALOG_DATA = [
4433
3999
  description: "Permite leer el recurso settings del servicio schedules.",
4434
4000
  groupKey: "schedules",
4435
4001
  groupDisplayName: "schedules",
4436
- order: 253,
4002
+ order: 241,
4437
4003
  products: ["sail"],
4438
4004
  tenantAssignable: true,
4439
4005
  kind: "operation",
4440
- exactMatch: false,
4441
4006
  serviceToService: false,
4442
4007
  roleDefaults: []
4443
4008
  },
@@ -4450,113 +4015,10 @@ export const CAPABILITY_CATALOG_DATA = [
4450
4015
  description: "Permite escribir el recurso settings del servicio schedules.",
4451
4016
  groupKey: "schedules",
4452
4017
  groupDisplayName: "schedules",
4453
- order: 254,
4454
- products: ["sail"],
4455
- tenantAssignable: true,
4456
- kind: "operation",
4457
- exactMatch: false,
4458
- serviceToService: false,
4459
- roleDefaults: []
4460
- },
4461
- {
4462
- key: "schedules:token:delete",
4463
- service: "schedules",
4464
- resource: "token",
4465
- action: "delete",
4466
- displayName: "Eliminar · token",
4467
- description: "Permite eliminar el recurso token del servicio schedules.",
4468
- groupKey: "schedules",
4469
- groupDisplayName: "schedules",
4470
- order: 255,
4471
- products: ["sail"],
4472
- tenantAssignable: true,
4473
- kind: "operation",
4474
- exactMatch: false,
4475
- serviceToService: false,
4476
- roleDefaults: []
4477
- },
4478
- {
4479
- key: "schedules:token:read",
4480
- service: "schedules",
4481
- resource: "token",
4482
- action: "read",
4483
- displayName: "Leer · token",
4484
- description: "Permite leer el recurso token del servicio schedules.",
4485
- groupKey: "schedules",
4486
- groupDisplayName: "schedules",
4487
- order: 256,
4488
- products: ["sail"],
4489
- tenantAssignable: true,
4490
- kind: "operation",
4491
- exactMatch: false,
4492
- serviceToService: false,
4493
- roleDefaults: []
4494
- },
4495
- {
4496
- key: "schedules:token:write",
4497
- service: "schedules",
4498
- resource: "token",
4499
- action: "write",
4500
- displayName: "Escribir · token",
4501
- description: "Permite escribir el recurso token del servicio schedules.",
4502
- groupKey: "schedules",
4503
- groupDisplayName: "schedules",
4504
- order: 257,
4018
+ order: 242,
4505
4019
  products: ["sail"],
4506
4020
  tenantAssignable: true,
4507
4021
  kind: "operation",
4508
- exactMatch: false,
4509
- serviceToService: false,
4510
- roleDefaults: []
4511
- },
4512
- {
4513
- key: "schedules:*:delete",
4514
- service: "schedules",
4515
- resource: "*",
4516
- action: "delete",
4517
- displayName: "Eliminar · todos los recursos",
4518
- description: "Grant comodín: satisface las claves de schedules de cualquier recurso con la acción delete, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: schedules:delete.",
4519
- groupKey: "schedules",
4520
- groupDisplayName: "schedules",
4521
- order: 258,
4522
- products: ["sail"],
4523
- tenantAssignable: true,
4524
- kind: "grant-wildcard",
4525
- exactMatch: false,
4526
- serviceToService: false,
4527
- roleDefaults: []
4528
- },
4529
- {
4530
- key: "schedules:*:read",
4531
- service: "schedules",
4532
- resource: "*",
4533
- action: "read",
4534
- displayName: "Leer · todos los recursos",
4535
- description: "Grant comodín: satisface las claves de schedules de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: schedules:read.",
4536
- groupKey: "schedules",
4537
- groupDisplayName: "schedules",
4538
- order: 259,
4539
- products: ["sail"],
4540
- tenantAssignable: true,
4541
- kind: "grant-wildcard",
4542
- exactMatch: false,
4543
- serviceToService: false,
4544
- roleDefaults: []
4545
- },
4546
- {
4547
- key: "schedules:*:write",
4548
- service: "schedules",
4549
- resource: "*",
4550
- action: "write",
4551
- displayName: "Escribir · todos los recursos",
4552
- description: "Grant comodín: satisface las claves de schedules de cualquier recurso con la acción write, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: schedules:write.",
4553
- groupKey: "schedules",
4554
- groupDisplayName: "schedules",
4555
- order: 260,
4556
- products: ["sail"],
4557
- tenantAssignable: true,
4558
- kind: "grant-wildcard",
4559
- exactMatch: false,
4560
4022
  serviceToService: false,
4561
4023
  roleDefaults: []
4562
4024
  },
@@ -4569,11 +4031,10 @@ export const CAPABILITY_CATALOG_DATA = [
4569
4031
  description: "Permite reservar el dominio del servicio serials. Claves anteriores: serials:allocate.",
4570
4032
  groupKey: "serials",
4571
4033
  groupDisplayName: "serials",
4572
- order: 261,
4034
+ order: 243,
4573
4035
  products: ["sail"],
4574
4036
  tenantAssignable: true,
4575
4037
  kind: "operation",
4576
- exactMatch: false,
4577
4038
  serviceToService: false,
4578
4039
  roleDefaults: []
4579
4040
  },
@@ -4586,11 +4047,10 @@ export const CAPABILITY_CATALOG_DATA = [
4586
4047
  description: "Permite eliminar el dominio del servicio serials. Claves anteriores: serials:delete.",
4587
4048
  groupKey: "serials",
4588
4049
  groupDisplayName: "serials",
4589
- order: 262,
4050
+ order: 244,
4590
4051
  products: ["sail"],
4591
4052
  tenantAssignable: true,
4592
4053
  kind: "operation",
4593
- exactMatch: false,
4594
4054
  serviceToService: false,
4595
4055
  roleDefaults: []
4596
4056
  },
@@ -4603,11 +4063,10 @@ export const CAPABILITY_CATALOG_DATA = [
4603
4063
  description: "Permite leer el dominio del servicio serials. Claves anteriores: serials:read.",
4604
4064
  groupKey: "serials",
4605
4065
  groupDisplayName: "serials",
4606
- order: 263,
4066
+ order: 245,
4607
4067
  products: ["sail"],
4608
4068
  tenantAssignable: true,
4609
4069
  kind: "operation",
4610
- exactMatch: false,
4611
4070
  serviceToService: false,
4612
4071
  roleDefaults: []
4613
4072
  },
@@ -4620,11 +4079,10 @@ export const CAPABILITY_CATALOG_DATA = [
4620
4079
  description: "Permite anular el dominio del servicio serials. Claves anteriores: serials:void.",
4621
4080
  groupKey: "serials",
4622
4081
  groupDisplayName: "serials",
4623
- order: 264,
4082
+ order: 246,
4624
4083
  products: ["sail"],
4625
4084
  tenantAssignable: true,
4626
4085
  kind: "operation",
4627
- exactMatch: false,
4628
4086
  serviceToService: false,
4629
4087
  roleDefaults: []
4630
4088
  },
@@ -4637,32 +4095,13 @@ export const CAPABILITY_CATALOG_DATA = [
4637
4095
  description: "Permite escribir el dominio del servicio serials. Claves anteriores: serials:write.",
4638
4096
  groupKey: "serials",
4639
4097
  groupDisplayName: "serials",
4640
- order: 265,
4098
+ order: 247,
4641
4099
  products: ["sail"],
4642
4100
  tenantAssignable: true,
4643
4101
  kind: "operation",
4644
- exactMatch: false,
4645
4102
  serviceToService: false,
4646
4103
  roleDefaults: []
4647
4104
  },
4648
- {
4649
- key: "serials:*:*",
4650
- service: "serials",
4651
- resource: "*",
4652
- action: "*",
4653
- displayName: "Todas las acciones · todos los recursos",
4654
- description: "Grant comodín: satisface las claves de serials de cualquier recurso con cualquier acción, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: serials:*.",
4655
- groupKey: "serials",
4656
- groupDisplayName: "serials",
4657
- order: 266,
4658
- products: ["sail"],
4659
- tenantAssignable: false,
4660
- kind: "grant-wildcard",
4661
- exactMatch: false,
4662
- serviceToService: false,
4663
- roleDefaults: [],
4664
- notes: "Comodín de plataforma (servicio:*:*): nunca asignable a tenant."
4665
- },
4666
4105
  {
4667
4106
  key: "specimen:domain:delete",
4668
4107
  service: "specimen",
@@ -4672,11 +4111,10 @@ export const CAPABILITY_CATALOG_DATA = [
4672
4111
  description: "Permite eliminar el dominio del servicio specimen. Claves anteriores: specimen:delete.",
4673
4112
  groupKey: "specimen",
4674
4113
  groupDisplayName: "specimen",
4675
- order: 267,
4114
+ order: 248,
4676
4115
  products: ["sail"],
4677
4116
  tenantAssignable: true,
4678
4117
  kind: "operation",
4679
- exactMatch: false,
4680
4118
  serviceToService: false,
4681
4119
  roleDefaults: []
4682
4120
  },
@@ -4689,11 +4127,10 @@ export const CAPABILITY_CATALOG_DATA = [
4689
4127
  description: "Permite leer el dominio del servicio specimen. Claves anteriores: specimen:read.",
4690
4128
  groupKey: "specimen",
4691
4129
  groupDisplayName: "specimen",
4692
- order: 268,
4130
+ order: 249,
4693
4131
  products: ["sail"],
4694
4132
  tenantAssignable: true,
4695
4133
  kind: "operation",
4696
- exactMatch: false,
4697
4134
  serviceToService: false,
4698
4135
  roleDefaults: []
4699
4136
  },
@@ -4706,11 +4143,10 @@ export const CAPABILITY_CATALOG_DATA = [
4706
4143
  description: "Permite escribir el dominio del servicio specimen. Claves anteriores: specimen:write.",
4707
4144
  groupKey: "specimen",
4708
4145
  groupDisplayName: "specimen",
4709
- order: 269,
4146
+ order: 250,
4710
4147
  products: ["sail"],
4711
4148
  tenantAssignable: true,
4712
4149
  kind: "operation",
4713
- exactMatch: false,
4714
4150
  serviceToService: false,
4715
4151
  roleDefaults: []
4716
4152
  },
@@ -4723,11 +4159,10 @@ export const CAPABILITY_CATALOG_DATA = [
4723
4159
  description: "Permite reservar el recurso label del servicio specimen.",
4724
4160
  groupKey: "specimen",
4725
4161
  groupDisplayName: "specimen",
4726
- order: 270,
4162
+ order: 251,
4727
4163
  products: ["sail"],
4728
4164
  tenantAssignable: true,
4729
4165
  kind: "operation",
4730
- exactMatch: false,
4731
4166
  serviceToService: false,
4732
4167
  roleDefaults: []
4733
4168
  },
@@ -4740,11 +4175,10 @@ export const CAPABILITY_CATALOG_DATA = [
4740
4175
  description: "Permite leer el recurso label-series del servicio specimen.",
4741
4176
  groupKey: "specimen",
4742
4177
  groupDisplayName: "specimen",
4743
- order: 271,
4178
+ order: 252,
4744
4179
  products: ["sail"],
4745
4180
  tenantAssignable: true,
4746
4181
  kind: "operation",
4747
- exactMatch: false,
4748
4182
  serviceToService: false,
4749
4183
  roleDefaults: []
4750
4184
  },
@@ -4757,45 +4191,10 @@ export const CAPABILITY_CATALOG_DATA = [
4757
4191
  description: "Permite escribir el recurso label-series del servicio specimen.",
4758
4192
  groupKey: "specimen",
4759
4193
  groupDisplayName: "specimen",
4760
- order: 272,
4194
+ order: 253,
4761
4195
  products: ["sail"],
4762
4196
  tenantAssignable: true,
4763
4197
  kind: "operation",
4764
- exactMatch: false,
4765
- serviceToService: false,
4766
- roleDefaults: []
4767
- },
4768
- {
4769
- key: "specimen:*:read",
4770
- service: "specimen",
4771
- resource: "*",
4772
- action: "read",
4773
- displayName: "Leer · todos los recursos",
4774
- description: "Grant comodín: satisface las claves de specimen de cualquier recurso con la acción read, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: specimen:read.",
4775
- groupKey: "specimen",
4776
- groupDisplayName: "specimen",
4777
- order: 273,
4778
- products: ["sail"],
4779
- tenantAssignable: true,
4780
- kind: "grant-wildcard",
4781
- exactMatch: false,
4782
- serviceToService: false,
4783
- roleDefaults: []
4784
- },
4785
- {
4786
- key: "specimen:*:write",
4787
- service: "specimen",
4788
- resource: "*",
4789
- action: "write",
4790
- displayName: "Escribir · todos los recursos",
4791
- description: "Grant comodín: satisface las claves de specimen de cualquier recurso con la acción write, salvo las de coincidencia exacta. Nunca se exige en una ruta; solo se concede. Lo concede la migración de: specimen:write.",
4792
- groupKey: "specimen",
4793
- groupDisplayName: "specimen",
4794
- order: 274,
4795
- products: ["sail"],
4796
- tenantAssignable: true,
4797
- kind: "grant-wildcard",
4798
- exactMatch: false,
4799
4198
  serviceToService: false,
4800
4199
  roleDefaults: []
4801
4200
  },
@@ -4808,11 +4207,10 @@ export const CAPABILITY_CATALOG_DATA = [
4808
4207
  description: "Permite eliminar el dominio del servicio treasury. Claves anteriores: treasury:delete.",
4809
4208
  groupKey: "treasury",
4810
4209
  groupDisplayName: "treasury",
4811
- order: 275,
4210
+ order: 254,
4812
4211
  products: ["sail"],
4813
4212
  tenantAssignable: true,
4814
4213
  kind: "operation",
4815
- exactMatch: false,
4816
4214
  serviceToService: false,
4817
4215
  roleDefaults: []
4818
4216
  },
@@ -4825,11 +4223,10 @@ export const CAPABILITY_CATALOG_DATA = [
4825
4223
  description: "Permite leer el dominio del servicio treasury. Claves anteriores: treasury:read.",
4826
4224
  groupKey: "treasury",
4827
4225
  groupDisplayName: "treasury",
4828
- order: 276,
4226
+ order: 255,
4829
4227
  products: ["sail"],
4830
4228
  tenantAssignable: true,
4831
4229
  kind: "operation",
4832
- exactMatch: false,
4833
4230
  serviceToService: false,
4834
4231
  roleDefaults: []
4835
4232
  },
@@ -4842,11 +4239,10 @@ export const CAPABILITY_CATALOG_DATA = [
4842
4239
  description: "Permite escribir el dominio del servicio treasury. Claves anteriores: treasury:write.",
4843
4240
  groupKey: "treasury",
4844
4241
  groupDisplayName: "treasury",
4845
- order: 277,
4242
+ order: 256,
4846
4243
  products: ["sail"],
4847
4244
  tenantAssignable: true,
4848
4245
  kind: "operation",
4849
- exactMatch: false,
4850
4246
  serviceToService: false,
4851
4247
  roleDefaults: []
4852
4248
  }