Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions doc/api/permissions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Permissions

<!--introduced_in=v20.0.0-->

<!-- source_link=src/permission.cc -->

Permissions can be used to control what system resources the
Node.js process has access to or what actions the process can take
with those resources.
Expand All @@ -26,12 +30,18 @@ If you find a potential security vulnerability, please refer to our

### Permission Model

<!-- type=misc -->
<!-- YAML
added: v20.0.0
changes:
- version:
- v23.5.0
- v22.13.0
pr-url: https://github.com/nodejs/node/pull/56201
description: This feature is no longer experimental.
-->

> Stability: 2 - Stable.

<!-- name=permission-model -->

The Node.js Permission Model is a mechanism for restricting access to specific
resources during execution.
The API exists behind a flag [`--permission`][] which when enabled,
Expand Down