request_permissions approval modal ignores session approval selection

Resolved 💬 1 comment Opened Apr 1, 2026 by fcoury-oai Closed Apr 1, 2026

What version of Codex CLI is running?

codex-cli 0.118.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4 high fast

What platform is your computer?

Darwin 25.4.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Ghostty

What issue are you seeing?

The TUI permission approval modal appears to ignore the session-grant choice for request_permissions.

When I select Yes, grant these permissions for this session using either:

  • arrow keys + Enter, or
  • the a shortcut,

the TUI still behaves as if I denied the request and shows:

You did not grant additional permissions

What steps can reproduce the bug?

  1. Open a TUI session with request_permissions available.
  2. Trigger a request_permissions prompt.
  3. In the approval modal, select option 2 (Yes, grant these permissions for this session) or press

a.

  1. Confirm the selection.
  2. Observe that the TUI reports You did not grant additional permissions instead of granting session-scoped permissions.

What is the expected behavior?

the TUI should submit a session-scoped approval and show:

You granted additional permissions for this session

This looks like a TUI approval-selection bug.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗