Skip to content

Add publicNetworkAccessEnabled#25515

Merged
tianzhu007 merged 6 commits intomainfrom
test/tianzhu/add-publicnetworkaccess-flag
Sep 23, 2025
Merged

Add publicNetworkAccessEnabled#25515
tianzhu007 merged 6 commits intomainfrom
test/tianzhu/add-publicnetworkaccess-flag

Conversation

@tianzhu007
Copy link
Contributor

Add publicNetworkAccessEnabled to block the public traffic for the tenant which has the publicNetworkAccessEnabled as false

Copilot AI review requested due to automatic review settings September 23, 2025 01:12
@github-actions github-actions bot added the area: server Server related issues (routerlicious) label Sep 23, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the publicNetworkAccessEnabled feature to block public traffic for tenants with this setting disabled. The changes implement validation logic that checks tenant configuration and returns an error when public network access is disabled.

  • Add validation for publicNetworkAccessEnabled in tenant custom data
  • Return appropriate error messages when public network access is disabled
  • Implement consistent behavior across both HTTP services and network helper modules

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
server/routerlicious/packages/services-shared/src/http.ts Adds public network access validation in the validatePrivateLink function
server/routerlicious/packages/lambdas/src/nexus/networkHelper.ts Adds public network access validation in the checkNetworkInformation function

@github-actions github-actions bot added the base: main PRs targeted against main branch label Sep 23, 2025
tianzhu007 and others added 3 commits September 22, 2025 18:13
@tianzhu007 tianzhu007 enabled auto-merge (squash) September 23, 2025 01:17
@pradeepvairamani pradeepvairamani self-requested a review September 23, 2025 16:41
@tianzhu007 tianzhu007 merged commit b9287b5 into main Sep 23, 2025
33 checks passed
@tianzhu007 tianzhu007 deleted the test/tianzhu/add-publicnetworkaccess-flag branch September 23, 2025 17:01
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
Add publicNetworkAccessEnabled to block the public traffic for the
tenant which has the publicNetworkAccessEnabled as false

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: server Server related issues (routerlicious) base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants