github / github/copilot-cli

Feature Request: Per-Tool Permission Settings for Copilot CLI

Offen
#1,995 1 Kommentar 8 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:configuration area:permissions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

**Summary:**
Currently, GitHub Copilot CLI requires explicit approval for each tool usage, or allows all tools globally with `/allow-all`. I'd like to request a feature to set persistent approval for specific tools individually.

**Use Case:**
In my workflow, I frequently use certain tools (e.g., `read`, `find`, `sed`) repeatedly throughout the session. Having to approve each tool invocation adds friction and slows down development. While I appreciate the security safeguard, a granular permission model would improve the developer experience.

**Proposed Solution:**
Add a command or configuration to permanently allow specific tools while keeping others in "ask-per-use" mode, such as:
- `/allow-tool ` - Add a tool to the allowed list
- `/deny-tool ` - Remove a tool from the allowed list
- `/list-allowed-tools` - View currently allowed tools

This would give developers finer-grained control over automation while maintaining security boundaries.

**Alternative Consideration:**
Could also be implemented via a configuration file (e.g., `~/.copilot/tool-permissions.json`) to persist settings across sessions.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.