{ "permissions": { "allow": [ "Bash(go version *)", "Bash(npm --version)", "Bash(echo \"exit: $?\")", "Bash(go build *)", "Bash(JWT_SECRET=test-secret-key-32-chars-min ADMIN_USER=admin ADMIN_PASS=admin123 DB_PATH=test.db ADDR=:8080 ./person-site *)", "Bash(curl -s http://localhost:8080/api/config)", "Bash(curl -s http://localhost:8080/)", "Bash(curl -sv http://localhost:8080/api/projects)", "Bash(DB_PATH=/tmp/test-person-site.db ADDR=:8080 JWT_SECRET=my-test-jwt-secret-key-32-chars ADMIN_USER=admin ADMIN_PASS=admin123 ./person-site)", "Bash(echo \"PID: $!\")", "Read(//tmp/**)", "Bash(pkill -x person-site)", "Bash(rm -f /tmp/test-person-site.db)", "Bash(curl -s http://localhost:8080/api/projects)", "Bash(curl -s -X POST http://localhost:8080/api/admin/login -H 'Content-Type: application/json' -d '{\"username\":\"admin\",\"password\":\"admin123\"}')", "Bash(curl -s http://localhost:8080/admin)", "Bash(go vet *)", "Bash(go test *)", "Bash(DEV=true DB_PATH=/tmp/test.db ADDR=:8081 JWT_SECRET=test-secret-key-32-chars-long ADMIN_USER=admin ADMIN_PASS=admin123 go run .)", "Bash(curl -s http://localhost:8081/)", "Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8081/admin)", "Bash(curl -s http://localhost:8081/api/projects)", "Bash(rm -f /tmp/test.db)", "Bash(go run *)", "Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8080/admin)", "Bash(JWT_SECRET=test-secret-key-32-chars-long ADMIN_USER=admin ADMIN_PASS=admin123 DB_PATH=/tmp/test.db ADDR=:8080 ./person-site)", "Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8080/assets/index-DJMxKABQ.js)", "Bash(npm run *)", "Bash(JWT_SECRET=test-secret ADMIN_USER=admin ADMIN_PASS=admin123 DB_PATH=/tmp/test.db ADDR=:8080 ./person-site)", "Bash(curl -s http://localhost:8080/admin/projects)", "Bash(JWT_SECRET=test ADMIN_USER=admin ADMIN_PASS=admin123 DB_PATH=/tmp/dev-test.db ADDR=:8081 go run -tags dev .)", "Bash(pkill -f \"go run\")" ] } }