41 lines
1.7 KiB
JSON
41 lines
1.7 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(powershell -Command \"(Get-Content ''api\\grpc\\router\\v1\\message_router.pb.go'' | Measure-Object -Line).Lines\")",
|
|
"Bash(powershell -Command \"Select-String -Path ''api\\grpc\\router\\v1\\message_router.pb.go'' -Pattern ''type SessionEvent'' | Select-Object -First 3\")",
|
|
"Bash(go list:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(ls:*)",
|
|
"Bash(find:*)",
|
|
"Bash(certutil:*)",
|
|
"Bash(git checkout:*)",
|
|
"Bash(wsl.exe:*)",
|
|
"Bash(protoc:*)",
|
|
"Bash(powershell -Command \"Select-String -Path ''api\\proto\\message_router_grpc.pb.go'' -Pattern ''GetRegisteredParties'' | Select-Object -First 3\")",
|
|
"Bash(copy /Y \"api\\proto\\message_router.pb.go\" \"api\\grpc\\router\\v1\"\" && copy /Y \"apiprotomessage_router_grpc.pb.go\" \"apigrpcrouterv1\"\")",
|
|
"Bash(powershell -Command:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(git pull:*)",
|
|
"Bash(del \"api\\proto\\session_coordinator.pb.go\" \"api\\proto\\session_coordinator_grpc.pb.go\" \"api\\proto\\message_router.pb.go\" \"api\\proto\\message_router_grpc.pb.go\")",
|
|
"Bash(grep:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(dir:*)",
|
|
"Bash(copy /Y \"api\\proto\\session_coordinator.pb.go\" \"api\\grpc\\coordinator\\v1\"\" && copy /Y \"apiprotosession_coordinator_grpc.pb.go\" \"apigrpccoordinatorv1\"\")",
|
|
"Bash(timeout /t 10 /nobreak)",
|
|
"Bash(bash scripts/deploy.sh:*)",
|
|
"Bash(go run:*)",
|
|
"Bash(timeout /t 5 /nobreak)",
|
|
"Bash(bash:*)",
|
|
"Bash(docker compose:*)",
|
|
"Bash(timeout /t 15 /nobreak)",
|
|
"Bash(timeout /t 30 /nobreak)",
|
|
"Bash(docker ps:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|