Repository navigation
Preserve local-binding inheritance in environment network policies - #47898
Merged
copyberry[bot] merged 1 commit intoSep 24, 2026
Conversation
…47898) ## Why Treating an omitted `allow_local_binding` setting as `false` prevents environment policies from inheriting local-binding permissions. ## What changed Keep `allow_local_binding` optional when composing controller and environment policies. Preserve explicit denials from either policy and resolve executor defaults after composition. Without a controller, default to denying local binding unless the environment explicitly allows it. ## Testing Add coverage for omitted, allowed, and denied settings, managed constraints, executor defaults, and remote launch rejection when local-binding restrictions cannot be enforced. Extend remote network approval tests with loopback requests to verify controller and environment policy composition. GitOrigin-RevId: aa0d15e8be87a2741255cd3a5a2cabffa03214ac
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/aa0d15e8be87a2741255cd3a5a2cabffa03214ac
branch
from
September 24, 2026 18:05
6c27b16 to
2457571
Compare
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/aa0d15e8be87a2741255cd3a5a2cabffa03214ac
branch
September 24, 2026 18:05
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Preserve local-binding inheritance in environment network policies
Why
Treating an omitted
allow_local_bindingsetting asfalseprevents environment policies from inheriting local-binding permissions.What changed
Keep
allow_local_bindingoptional when composing controller and environment policies. Preserve explicit denials from either policy and resolve executor defaults after composition. Without a controller, default to denying local binding unless the environment explicitly allows it.Testing
Add coverage for omitted, allowed, and denied settings, managed constraints, executor defaults, and remote launch rejection when local-binding restrictions cannot be enforced. Extend remote network approval tests with loopback requests to verify controller and environment policy composition.