Skip to content

Commit d45ac4b

Browse files
committed
fixup! fixup! src,lib: stabilize permission model
1 parent f67506f commit d45ac4b

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

doc/api/cli.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,28 +1000,6 @@ added:
10001000
10011001
Enable experimental support for the network inspection with Chrome DevTools.
10021002

1003-
### `--permission`
1004-
1005-
<!-- YAML
1006-
added: v20.0.0
1007-
changes:
1008-
- version: REPLACEME
1009-
pr-url: https://github.com/nodejs/node/pull/56201
1010-
description: Permission Model is now stable.
1011-
-->
1012-
1013-
> Stability: 2.0 - Stable
1014-
1015-
Enable the Permission Model for current process. When enabled, the
1016-
following permissions are restricted:
1017-
1018-
* File System - manageable through
1019-
[`--allow-fs-read`][], [`--allow-fs-write`][] flags
1020-
* Child Process - manageable through [`--allow-child-process`][] flag
1021-
* Worker Threads - manageable through [`--allow-worker`][] flag
1022-
* WASI - manageable through [`--allow-wasi`][] flag
1023-
* Addons - manageable through [`--allow-addons`][] flag
1024-
10251003
### `--experimental-require-module`
10261004

10271005
<!-- YAML
@@ -1806,6 +1784,28 @@ unless either the `--pending-deprecation` command-line flag, or the
18061784
are used to provide a kind of selective "early warning" mechanism that
18071785
developers may leverage to detect deprecated API usage.
18081786

1787+
### `--permission`
1788+
1789+
<!-- YAML
1790+
added: v20.0.0
1791+
changes:
1792+
- version: REPLACEME
1793+
pr-url: https://github.com/nodejs/node/pull/56201
1794+
description: Permission Model is now stable.
1795+
-->
1796+
1797+
> Stability: 2.0 - Stable
1798+
1799+
Enable the Permission Model for current process. When enabled, the
1800+
following permissions are restricted:
1801+
1802+
* File System - manageable through
1803+
[`--allow-fs-read`][], [`--allow-fs-write`][] flags
1804+
* Child Process - manageable through [`--allow-child-process`][] flag
1805+
* Worker Threads - manageable through [`--allow-worker`][] flag
1806+
* WASI - manageable through [`--allow-wasi`][] flag
1807+
* Addons - manageable through [`--allow-addons`][] flag
1808+
18091809
### `--preserve-symlinks`
18101810

18111811
<!-- YAML

0 commit comments

Comments
 (0)