Skip to content

fix: read a sourcebus content source without a url as source-bus - #322

Merged
benpeter merged 2 commits into
mainfrom
sbtype
Oct 30, 2026
Merged

benpeter merged 2 commits into
mainfrom
sbtype

Conversation

@benpeter

Copy link
Copy Markdown
Contributor

since helix-config-storage#336 and #338, saving a site config turns an api.aem.live content source into { "type": "sourcebus" } without a url. getSiteConfig only looked at the url, so it reads those sites from da-admin:

  • layout view on adobe/aem-website answers 403 for anyone without da-admin access on the adobe org, and shows whatever da-admin has at the path for anyone with it
  • writes through the proxy go to da-admin instead of getting the 405

type: sourcebus now reads as source bus. the url check stays for configs saved before that type existed.

tested with the unit tests and a local run against the lookup stand-in answering { "type": "sourcebus" }: main reads admin.da.live, this branch reads the source bus and renders the page.

@benpeter
benpeter requested review from mhaack and tripodsan October 29, 2026 22:29
@benpeter
benpeter merged commit 1af620f into main Oct 30, 2026
3 checks passed
@benpeter
benpeter deleted the sbtype branch October 30, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants