@@ -375,20 +375,32 @@ def world_manifest_from_spec(spec: "NetEngineSpec") -> WorldManifest:
375375
376376 authorities = default_authorities_for_spec (spec )
377377
378+ posture = spec .authority
379+
378380 return WorldManifest (
379381 world_id = spec .metadata .name ,
380382 world_name = spec .metadata .name ,
381383 lifecycle = spec .metadata .lifecycle ,
382- authority_model = "default" ,
384+ authority_model = posture . authority_model if posture else "default" ,
383385 authorities = authorities ,
384- dns_root_authority = "root-naming" ,
385- ca_trust_authority = "trust-root" ,
386- platform_identity_issuer = "platform-identity" ,
387- inworld_identity_issuer = "inworld-identity" ,
388- world_registry_authority = "world-root" ,
389- domain_registry_authority = "domain-registry" ,
390- numbering_authority = "numbering" ,
391- transit_boundary_authority = "transit-boundary" ,
386+ dns_root_authority = (posture .dns_root_authority if posture else None ) or "root-naming" ,
387+ ca_trust_authority = (posture .ca_trust_authority if posture else None ) or "trust-root" ,
388+ platform_identity_issuer = (
389+ (posture .platform_identity_issuer if posture else None ) or "platform-identity"
390+ ),
391+ inworld_identity_issuer = (
392+ (posture .inworld_identity_issuer if posture else None ) or "inworld-identity"
393+ ),
394+ world_registry_authority = (
395+ (posture .world_registry_authority if posture else None ) or "world-root"
396+ ),
397+ domain_registry_authority = (
398+ (posture .domain_registry_authority if posture else None ) or "domain-registry"
399+ ),
400+ numbering_authority = (posture .numbering_authority if posture else None ) or "numbering" ,
401+ transit_boundary_authority = (
402+ (posture .transit_boundary_authority if posture else None ) or "transit-boundary"
403+ ),
392404 real_internet_posture = spec .gateway_portal .real_internet .mode ,
393405 cross_world_posture = spec .gateway_portal .cross_world .mode ,
394406 trust_bundles = _trust_bundles_from_spec (spec ),
0 commit comments