Skip to content

fix: privacy-policy login-gating bug; skip provider suite on dev deploy - #472

Merged
saqibmanan merged 1 commit into
devfrom
fix/privacy-policy-path-and-skip-provider-dev
Sep 22, 2026
Merged

saqibmanan merged 1 commit into
devfrom
fix/privacy-policy-path-and-skip-provider-dev

Conversation

@saqibmanan

Copy link
Copy Markdown
Contributor

Two small fixes:

  1. proxy.ts's public-pages allowlist had /privacy but the real route is /privacy-policy; the $-anchored regex never matched, so the page redirected to login. Footer link had the same wrong path. This is what's been failing consumer-smoke and rolling back every dev deploy (confirmed on the deploy run from before fix: default drafts/published tab so the empty-state create button isn't hidden #471 too — unrelated to that change).
  2. skip_provider: true on the dev deploy's smoke-tests and functional-tests gate. Provider create-flow tests are under separate investigation (CivicDataSpace-test#103 and follow-ons); not blocking deploys on them for now. No-op on main.

… on dev deploy for now

proxy.ts's public-pages allowlist had '/privacy', but the real route is
/privacy-policy -- the regex is $-anchored so it never matched, and the
page (and the footer link pointing at the same wrong '/privacy' path)
redirected to /login. This is what's been failing consumer-smoke and
rolling back every dev deploy, unrelated to #471.

Also: skip_provider: true on both smoke-tests and functional-tests in
the dev deploy gate. Provider create-flow tests are under separate
investigation (CivicDataSpace-test#103 and follow-ons) -- not blocking
deploys on them until that's resolved. No-op on main, which already
runs the readonly suite only.
@saqibmanan

Copy link
Copy Markdown
Contributor Author

@UdayRajSahai2 have a look at it for the .ts file. the privacy slug was setup wrong

@saqibmanan
saqibmanan merged commit 7e84ff1 into dev Sep 22, 2026
1 check passed

This branch was successfully deployed

1 active deployment
development — 3d8beae0 Deployed Sep 22, 2026 by saqibmanan via build (24.x) #809
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.

1 participant