Files
node/doc/api
Adrián Estrada e0f0830dbc doc: document --permission-audit audit mode behavior
Expand the documentation for the --permission-audit flag, which was
fixed in 51c09eae6c to no longer throw ERR_ACCESS_DENIED on denied
operations. The previous docs only had a two-sentence description in
cli.md and no mention in the permissions guide or process.permission
API docs.

- permissions.md: add enforce vs audit mode overview, a new
  "Audit Mode" subsection listing the diagnostics channel names
  (node:permission-model:*) and the { permission, resource } message
  shape, and a usage example. Update the Runtime API section to
  mention both --permission and --permission-audit.
- cli.md: expand the --permission-audit section to clarify that
  --permission is not required, --allow-* flags are not needed,
  errors are not thrown, and --permission takes precedence when both
  are set. Add a cross-reference from --permission to
  --permission-audit.
- process.md: note that process.permission is available under both
  flags, and clarify permission.has() and permission.drop() behavior
  in audit mode.
- node.1: regenerated via `make node.1`.

Refs: https://github.com/nodejs/node/pull/64426
Signed-off-by: Adrian Estrada <edsadr@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64791
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-08-05 11:15:02 +02:00
..
2026-07-06 19:07:58 +00:00
2026-07-29 10:31:33 -03:00
2026-07-30 13:33:23 +02:00
2026-07-30 13:33:23 +02:00
2026-07-29 10:31:26 -03:00
2026-06-20 17:50:48 +02:00
2025-12-16 20:31:28 +00:00
2026-07-29 10:31:28 -03:00
2025-07-15 17:18:42 +00:00
2026-07-30 13:33:23 +02:00
2026-07-29 10:31:28 -03:00
2026-07-30 13:33:23 +02:00
2025-06-09 23:45:29 +02:00
2026-06-20 16:58:13 +02:00