github / github/copilot-cli

Approval for commands is not fine grained enough (subcommand permission)

Aperta
#572 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
area:permissions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the bug

Like other coding agents, copilot asks if it is allowed to run commands. However, for commands like `uv` or `cargo` that can do many things, it only asks permission for the _top level command_ and not for the actual _subcommand_ that it wants to run.

This is problematic because `uv run` can run anything including destructive scripts or `carg some-plugin` can make unintended changes.

This is a request to allow for more fine grained permissions where I can approve what Copilot _actually_ intends to execute.

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.