Browser permission: allow all sites for the current task only

Open
#34,153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

No files, tests, or entry points are named. Start by locating the built-in browser's existing site-access permission flow and the task lifecycle it must follow. Done means the temporary option is shown, scoped to the browser instance and thread, revocable, absent from other tasks, expired after completion or cancellation, and does not change sensitive-action confirmations.

Written by the indexing model from the issue text.

Description

app browser enhancement

Feature request

Add a task-scoped browser permission option:

Allow all sites for this task

The permission should automatically expire when the current Work or Codex task finishes, is stopped, or is cancelled.

Current behavior

When the built-in browser reaches a new website, the user can:

  • deny access;
  • allow the website once; or
  • allow access on all websites.

For tasks that legitimately need to move across several websites, Allow once can leave the task paused at an approval prompt while the user is away. Allow on all websites avoids those interruptions but grants a much broader and more persistent permission than the task requires.

Proposed behavior

Offer a middle option that:

  1. allows the browser to visit new websites without repeated site-access prompts during the current task;
  2. expires automatically at the end of that task;
  3. remains scoped to the browser instance and thread that received the permission;
  4. stays visible while active and can be revoked immediately by the user;
  5. continues to require separate confirmation for sensitive actions such as signing in, submitting personal information, purchasing, changing permissions, or deleting data.

Why this helps

This would allow longer multi-site research, comparison, verification, and administrative workflows to continue unattended without requiring users to choose between repeated interruptions and a persistent global permission.

It would also make the permission model clearer:

  • Allow once — one website access;
  • Allow for this task — any necessary websites until this task ends;
  • Always allow / allow on all websites — persistent broad access.

Suggested acceptance criteria

  • The option appears alongside the existing site-access choices.
  • The UI clearly shows that the permission is temporary and task-scoped.
  • Starting another task does not inherit the permission.
  • Resuming a completed or cancelled task requires fresh permission.
  • Sensitive-action confirmations remain unchanged.
Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.