Granular tool permission controls — allow-list specific tools
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 2.1k
- Forks
- 153
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## Description:
Currently, Tool permissions only offers two options: "Approve all" or "Ask every time". There is no way to allow specific tools automatically while still requiring approval for others.
## Requested feature:
Add per-tool permission configuration in Settings → Sessions → Tool permissions, allowing users to define an allow-list of tools that run without confirmation (e.g. grep, glob, view) while all other tools still require explicit approval.
## Use case:
Read-only tools like grep/ripgrep pose no risk to the codebase and interrupting the agent flow to approve every search is disruptive. Write/execute tools (bash, file edit, git push) should still require confirmation. A middle ground between "trust everything" and "approve everything" would significantly improve agent UX without sacrificing safety on destructive operations.
## Proposed UI:
In the Tool permissions dropdown, add a third option: "Custom" — opens a list of available tools with individual allow/ask toggles per tool.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start in Settings → Sessions → Tool permissions and trace how the existing “Approve all” and “Ask every time” choices are represented and applied. Done means a “Custom” option provides per-tool allow/ask toggles, with allow-listed tools skipping confirmation while all others still prompt, including the read-only and write/execute examples.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Domaine
- desktop, security
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100