fix(settings): npm -g left to the auto-mode soft_deny

This commit is contained in:
bchanot committed 2026-11-14 18:31:44 +01:00
1 parent e78872e8a8
commit 692e4a5a24
2 files changed
+5 -8

No files matched your search

+5 -4
View File
@@ -329,10 +329,11 @@ check T41-new-deny-present "$missing" ""
# version.txt passes removed_ok_until (T42e): empty the list in that bump. # version.txt passes removed_ok_until (T42e): empty the list in that bump.
removed_ok_until=3.0.0 removed_ok_until=3.0.0
grep -v '^#' > "$WORK/removed-ok" <<'EOF' grep -v '^#' > "$WORK/removed-ok" <<'EOF'
# mixed `* -v /:*` form never matches; `-v /:/*` kept (2026-10-23) # soft_deny "Global npm installs" decides (user 2026-11-12)
Bash(docker run * -v /:*) Bash(npm install -g *)
# mixed `* :*` form never matches; ` :**` kept (2026-10-23) Bash(npm i -g *)
Bash(git push * :*) Bash(npm install --global *)
Bash(npm i --global *)
EOF EOF
cur=$(tr -d '[:space:]' < "$ROOT/version.txt") cur=$(tr -d '[:space:]' < "$ROOT/version.txt")
expired="" expired=""
-4
View File
@@ -140,10 +140,6 @@
"Bash(crontab *)", "Bash(crontab *)",
"Bash(systemctl *)", "Bash(systemctl *)",
"Bash(service *)", "Bash(service *)",
"Bash(npm install -g *)",
"Bash(npm i -g *)",
"Bash(npm install --global *)",
"Bash(npm i --global *)",
"Read(**/.env)", "Read(**/.env)",
"Read(**/.env.*)", "Read(**/.env.*)",
"Read(**/secrets/**)", "Read(**/secrets/**)",