Skip to content

Conversation

aibrahim-oai
Copy link
Collaborator

A slash command to control permissions

Screen.Recording.2025-08-19.at.4.13.03.PM.mov

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex Review: Here are some suggestions.

Reply with @codex fix comments to fix any unresolved comments.

About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request that is ready for review, or mark a draft as ready for review. You can also ask for a review by commenting "@codex review".

Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".

@aibrahim-oai aibrahim-oai requested a review from gpeal August 20, 2025 04:13

## Permissions presets

Codex pairs the approval policy and sandbox mode into three easy presets you can select in the TUI (via `/permissions`). These are convenience shortcuts over `approval_policy` and `sandbox_mode`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we want to say something more like

"Codex provides three main Approval Presets:

  • name: description
  • name: description
  • name: description

You can further customize how Codex runs at the command line using the --ask-for-approval and --sandbox options.


self.bottom_pane.show_selection_view(
"Select permissions".to_string(),
Some("Choose approval and sandbox mode for this session".to_string()),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get rid of this?

}

self.bottom_pane.show_selection_view(
"Select permissions".to_string(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Select permissions".to_string(),
"Select approval mode".to_string(),

@aibrahim-oai aibrahim-oai enabled auto-merge (squash) August 20, 2025 05:28
@aibrahim-oai aibrahim-oai merged commit 202af12 into main Aug 20, 2025
15 checks passed
@aibrahim-oai aibrahim-oai deleted the permissions branch August 20, 2025 05:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2025
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.

2 participants