Skip to content

Preserve managed deny-read rules across permission updates - #40004

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5e387b9c1bf1650a21753a74a3338bd33df7d0ce
Aug 21, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5e387b9c1bf1650a21753a74a3338bd33df7d0ce

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

Preserve managed deny-read rules across permission updates

Why

Runtime permission updates must not weaken managed filesystem deny_read
requirements.

What changed

  • Retain managed deny-read rules separately and merge them into updated
    permission profiles.
  • Reject permission profiles and legacy sandbox policies that conflict with a
    managed denied path.
  • Apply the same constraint when command/exec handles a request-specific
    sandbox policy.

Testing

  • Cover thread permission updates with managed deny-read requirements.
  • Cover command/exec enforcement for managed and user-defined denies,
    including conflicting policy and profile overrides.

## Why

Runtime permission updates must not weaken managed filesystem `deny_read`
requirements.

## What changed

- Retain managed deny-read rules separately and merge them into updated
  permission profiles.
- Reject permission profiles and legacy sandbox policies that conflict with a
  managed denied path.
- Apply the same constraint when `command/exec` handles a request-specific
  sandbox policy.

## Testing

- Cover thread permission updates with managed deny-read requirements.
- Cover `command/exec` enforcement for managed and user-defined denies,
  including conflicting policy and profile overrides.

GitOrigin-RevId: 5e387b9c1bf1650a21753a74a3338bd33df7d0ce
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5e387b9c1bf1650a21753a74a3338bd33df7d0ce branch from d561d75 to ad9e809 Compare August 21, 2026 20:16
@copyberry
copyberry Bot merged commit ad9e809 into main Aug 21, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5e387b9c1bf1650a21753a74a3338bd33df7d0ce branch August 21, 2026 20:17
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant