mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Reject lossy legacy permission projections (#39117)
## Why Some managed filesystem permission profiles cannot be represented by the legacy app-server sandbox policy without changing which paths are accessible. ## What changed - Require legacy sandbox conversion to preserve the filesystem policy's semantics, and reject unsupported profiles with an actionable error. - Keep queued follow-up messages and safety-buffered retries intact when permissions are rejected, resuming queued input only after a compatible profile is selected. - Cover compatible profiles, lossy restrictions and write roots, turn-start handling, and safety-buffered retries with regression tests. GitOrigin-RevId: 345cc2a839206b2b1997e8981feb59f91b6975cc
This commit is contained in:
1 parent
ca08a58ab4
commit
ede5247893
8 files changed
+398
-123
No files matched your search
@@ -828,7 +828,7 @@ impl App {
|
||||
}
|
||||
}
|
||||
|
||||
fn turn_permissions_override_from_config(
|
||||
pub(super) fn turn_permissions_override_from_config(
|
||||
config: &Config,
|
||||
active_permission_profile: Option<&ActivePermissionProfile>,
|
||||
runtime_permission_profile_override: Option<&PermissionProfile>,
|
||||
|
||||
Reference in new issue
Block a user