CLI/TUI: add a keyboard shortcut to cycle permission presets in-session

Resolved 💬 2 comments Opened Apr 23, 2026 by KashifCodeMaster Closed May 31, 2026

What variant of Codex are you using?

CLI (TUI)

What feature would you like to see?

Summary

Add a low-friction keyboard shortcut to cycle Codex's existing permission presets during an active TUI session, similar to how other coding CLIs let users quickly switch between normal, auto-accept, and plan-style modes.

Today, changing permissions requires opening /approvals or /permissions and selecting a preset manually. That works, but it is much slower and less discoverable than a single shortcut when moving between:

  • a safe planning/review flow
  • normal workspace-write coding
  • a more autonomous mode for long edits

Why this would help

There is already a good permissions model in Codex:

  • Read Only
  • Default
  • Full Access

There is also already a TUI concept of quick mode switching via Shift+Tab, but today that shortcut is used for collaboration mode switching (Plan / Default), not permission switching.

The result is that two closely related concepts are split across two different interaction models:

  • collaboration mode is quick to toggle
  • permission mode is buried in a popup

For users coming from other agent CLIs, this makes the TUI feel slower during real work, especially when the workflow is:

  1. inspect or plan safely
  2. switch into normal coding mode
  3. temporarily allow a more autonomous mode
  4. return to a safer mode

Proposed solution

Add a keyboard shortcut that cycles the existing approval/permission presets in-session.

There are two reasonable product directions:

  1. Preferred: add a new dedicated shortcut for permission preset cycling, and keep Shift+Tab for collaboration modes.
  2. Alternative: repurpose Shift+Tab to cycle permission presets, and move collaboration mode cycling to a different shortcut.

I think option 1 is the safer change because it does not break the current Plan-mode muscle memory or existing footer copy.

Expected behavior

The shortcut should:

  • cycle through the same built-in presets exposed in /approvals
  • skip presets that are disabled by policy or platform constraints
  • respect the existing full-access confirmation flow
  • update the current session immediately, just like /approvals
  • show a clear footer/history/status indication of the new permission mode

Notes on scope

I am not asking for a brand-new backend permission model here.

This request is specifically about faster access to the existing permission presets already present in the TUI, so it seems much smaller and more feasible than introducing separate edit-vs-command approval policies.

Additional information

Related context:

  • There are existing user requests around approval mode ergonomics and read-only discoverability.
  • Codex already has quick collaboration-mode switching in the TUI, so there is precedent for this style of UX.
  • If maintainers want strict parity with other CLIs, a follow-up discussion could decide whether collaboration mode and permission mode should eventually be unified or intentionally remain separate.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗