docs: fix permission system documentation in agents section (#7652)
This commit is contained in:
parent
6a2fed7042
commit
6b019a125a
2 changed files with 22 additions and 6 deletions
|
|
@ -429,6 +429,7 @@ permission:
|
|||
"*": ask
|
||||
"git diff": allow
|
||||
"git log*": allow
|
||||
"grep *": allow
|
||||
webfetch: deny
|
||||
---
|
||||
|
||||
|
|
@ -444,7 +445,8 @@ You can set permissions for specific bash commands.
|
|||
"build": {
|
||||
"permission": {
|
||||
"bash": {
|
||||
"git push": "ask"
|
||||
"git push": "ask",
|
||||
"grep *": "allow"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -480,7 +482,7 @@ Since the last matching rule takes precedence, put the `*` wildcard first and sp
|
|||
"permission": {
|
||||
"bash": {
|
||||
"*": "ask",
|
||||
"git status": "allow"
|
||||
"git status *": "allow"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue