fix(external-sources): default external integrations to disabled - #1734
Merged
limityan merged 1 commit intoJul 24, 2026
Merged
Conversation
limityan
marked this pull request as ready for review
July 24, 2026 07:10
limityan
force-pushed
the
yanzhn/external-sources-default-disabled
branch
from
July 24, 2026 07:29
449fa0d to
ecea0cc
Compare
limityan
force-pushed
the
yanzhn/external-sources-default-disabled
branch
from
July 24, 2026 07:30
ecea0cc to
c34fa25
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The shared policy default and the Web UI fallback both previously treated external integrations as enabled. That could make external AI application content available before a user knowingly opted in.
User impact
New or unconfigured users now see external AI application access turned off and can enable it from settings. Existing explicit enabled or disabled values continue to be respected; this change does not migrate or overwrite saved choices.
Validation
cargo test -p bitfun-product-domains --features external-sources --test external_source_contracts(37 passed)pnpm --dir src/web-ui run test:run src/infrastructure/config/components/ExternalSourcesConfig.test.tsx(46 passed)pnpm run type-check:webnode scripts/check-core-boundaries.mjspnpm run check:repo-hygienegit diff --check