You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
/permissions changes do not propagate to the active session in codex-cli 0.124.0 #19256
What terminal emulator and version are you using (if applicable)?
st
What issue are you seeing?
Changes made through /permissions are saved in the UI/config flow, but they do not take effect in the current session. The active session continues using the old permission state.
In practice, changing permissions such as approval mode or sandbox behavior via /permissions appears to update the setting surface, but the running thread still behaves as if the previous session permissions are still active.
What steps can reproduce the bug?
Start a Codex session.
Run /status and note the current permission state.
Run /permissions.
Change the permission setting to a different mode, for example switching to Full Access.
Return to the same session.
Ask codex to report sandox, approval status shows that nothing has changed.
What is the expected behavior?
After granting 'Full Access' from \permissions, it should be
Filesystem sandbox: danger-full-access
Approval policy: never
Network access: enabled
You specifically mentioned 0.124.0 in the title. Do you have reason to believe this worked in previous versions? I'm trying to determine if this is a regression in 0.124.0.
I can confirm I’m seeing the same behavior. I usually run Codex with full access, but in codex-cli 0.124.0 the /permissions changes don’t seem to take effect in the active session for me either.
As a temporary workaround, I downgraded to 0.123.0, where the behavior works as expected for my workflow. That said, I would really prefer to stay on the newer version because I want to use GPT-5.5.
You specifically mentioned 0.124.0 in the title. Do you have reason to believe this worked in previous versions? I'm trying to determine if this is a regression in 0.124.0.
Same issue here, full access is working fine on 0.123.0 and totally broken on 0.124.0. I downgraded to 0.123.0 to fix the issue. CLI - Ubuntu 24.04.4
You can use codex -s danger-full-access -a never to solve this problem.
I suspect the problem lies in the internal control permissions code.
You specifically mentioned 0.124.0 in the title. Do you have reason to believe this worked in previous versions? I'm trying to determine if this is a regression in 0.124.0.
Reacted by Ysopwnable, danlannan777 and Christian Doxa
The patch adds a session-only UpdateApprovalsReviewerForSession event and uses it for /permissions preset selection, while keeping the existing persistent UpdateApprovalsReviewer event for flows that intentionally write approvals_reviewer to config.toml.
Local verification:
git diff --check passed
I could not run cargo fmt / cargo test locally because this shell does not currently have Rust tooling available.
cargo test -p codex-tui permissions_full_access_history_cell_emitted_only_after_confirmation now passes locally.
cargo fmt completed locally.
git diff --check passes.
I also removed the now-unused persistent UpdateApprovalsReviewer event/handler after the compiler surfaced it as dead code. The fork patch now keeps the Full Access confirmation path session-scoped via UpdateApprovalsReviewerForSession and avoids writing approvals_reviewer to config.toml.
Full upstream CI is still unavailable from my side because PR creation against this repository is restricted to collaborators.
Activity
github-actions commentedon Apr 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Apr 24, 2026
You specifically mentioned 0.124.0 in the title. Do you have reason to believe this worked in previous versions? I'm trying to determine if this is a regression in 0.124.0.
christiandoxa commentedon Apr 24, 2026
I can confirm I’m seeing the same behavior. I usually run Codex with full access, but in
codex-cli 0.124.0the/permissionschanges don’t seem to take effect in the active session for me either.As a temporary workaround, I downgraded to
0.123.0, where the behavior works as expected for my workflow. That said, I would really prefer to stay on the newer version because I want to use GPT-5.5.mahmoud1973 commentedon Apr 24, 2026
Same issue here, full access is working fine on 0.123.0 and totally broken on 0.124.0. I downgraded to 0.123.0 to fix the issue. CLI - Ubuntu 24.04.4
sjtianwen commentedon Apr 24, 2026
You can use
codex -s danger-full-access -a neverto solve this problem.I suspect the problem lies in the internal control permissions code.
etraut-openai commentedon Apr 24, 2026
Thanks for the bug report. This will be addressed in the next release.
Joey-Lei commentedon Apr 24, 2026
I reproduced a related session/config boundary issue while investigating this.
In
codex-cli 0.124.0, selecting:is described as session-scoped, but it can still persist:
to
~/.codex/config.toml.I prepared a minimal patch in my fork, but I cannot open a PR because this repository currently limits PR creation to collaborators:
The patch adds a session-only
UpdateApprovalsReviewerForSessionevent and uses it for/permissionspreset selection, while keeping the existing persistentUpdateApprovalsReviewerevent for flows that intentionally writeapprovals_reviewertoconfig.toml.Local verification:
git diff --checkpassedI could not run
cargo fmt/cargo testlocally because this shell does not currently have Rust tooling available.danlannan777 commentedon Apr 24, 2026
Also seeing this. I'm trying to have Codex hit AWS to read some logs and it can't get outside the network sandbox with 'Full Permissions' on
Fanduzi commentedon Apr 24, 2026
same issue
jdavidhoward commentedon Apr 24, 2026
Same issue
Joey-Lei commentedon Apr 24, 2026
Update on local verification for the fork patch:
rustup.cargo fmtfromcodex-rs/; it completed. I pushed the formatting follow-up to the same fork branch.cargo test -p codex-tui permissions_full_access_history_cell_emitted_only_after_confirmationThe test did not reach execution locally because the first local build was blocked by native dependency setup:
v8failed while preparinglibrusty_v8(Decompression error Err(Buf), then missingrusty_v8after clearing the bad output)webrtc-sysnative artifact download failure due to TLS EOFThe compare branch is updated here:
Joey-Lei/codex-cli-fork@main...fix/full-access-session-only-permission
So the current local verification is:
git diff --checkpassedcargo fmtcompletedcodex-tuitest attempted, but blocked by native dependency download/link setup before tests ranJoey-Lei commentedon Apr 24, 2026
Update after fixing my local Rust/native dependency setup and tightening the fork patch:
cargo test -p codex-tui permissions_full_access_history_cell_emitted_only_after_confirmationnow passes locally.cargo fmtcompleted locally.git diff --checkpasses.I also removed the now-unused persistent
UpdateApprovalsReviewerevent/handler after the compiler surfaced it as dead code. The fork patch now keeps the Full Access confirmation path session-scoped viaUpdateApprovalsReviewerForSessionand avoids writingapprovals_reviewertoconfig.toml.Full upstream CI is still unavailable from my side because PR creation against this repository is restricted to collaborators.