25 lines
1.2 KiB
JSON
25 lines
1.2 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(git status:*)", "Bash(git diff:*)", "Bash(git log:*)", "Bash(git show:*)",
|
|
"Bash(git branch --list:*)", "Bash(git rev-parse:*)", "Bash(git add:*)", "Bash(git commit:*)",
|
|
"Bash(bun install --frozen-lockfile:*)", "Bash(bun test:*)", "Bash(bun run typecheck:*)",
|
|
"Bash(bun run build:*)", "Bash(bun run dev:*)", "Bash(bun run start:*)"
|
|
],
|
|
"ask": [
|
|
"Bash(git push:*)", "Bash(git merge:*)", "Bash(git rebase:*)", "Bash(git switch:*)",
|
|
"Bash(git restore:*)", "Bash(git commit --amend:*)", "Bash(rm:*)",
|
|
"Bash(bun add:*)", "Bash(bun remove:*)", "Bash(bun update:*)", "Bash(bun upgrade:*)",
|
|
"Bash(bunx:*)", "Bash(npx:*)", "Bash(docker:*)"
|
|
],
|
|
"deny": [
|
|
"Bash(git push --force:*)", "Bash(git push -f:*)", "Bash(git push --force-with-lease:*)",
|
|
"Bash(git reset --hard:*)", "Bash(git clean:*)", "Bash(git add -f:*)", "Bash(git add --force:*)",
|
|
"Bash(git commit --no-verify:*)", "Bash(git commit -n:*)",
|
|
"Bash(rm -r:*)", "Bash(rm -R:*)", "Bash(rm -rf:*)", "Bash(rm -fr:*)", "Bash(rm -Rf:*)",
|
|
"Bash(rm -fR:*)", "Bash(rm --recursive:*)", "Bash(sudo:*)",
|
|
"Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)"
|
|
]
|
|
}
|
|
}
|