Commit 7d4532e
committed
permission: SEMVER-MAJOR ceiling for Worker explicit execArgv
Breaking change: when the parent has the Permission Model enabled, a Worker
with explicit execArgv (including []) cannot obtain wider permission-related
grants than the parent.
- Unconfigured worker permission flags → parent grant ceiling
- Configured flags → intersect booleans; fs lists subset of parent
(empty worker fs list keeps parent list; prefix-aware path coverage)
- Options only; runtime FSPermission unchanged
- Document behavior in permissions and worker_threads APIs
Signed-off-by: yunshingng <yunshingng25@gmail.com>1 parent f89a4b9 commit 7d4532e
4 files changed
Lines changed: 243 additions & 249 deletions
File tree
- doc/api
- src
- test/parallel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
1564 | 1570 | | |
1565 | 1571 | | |
1566 | 1572 | | |
| |||
0 commit comments