Closed
Description
As discussed earlier in nodejs/node#44004 and #791, the purpose of this issue is to establish a comprehensive roadmap for the Permission Model. I will be proceeding with the following list of action items, and in cases where further discussion is necessary, I will initiate a separate issue for each item.
- Permission Model adoption on package managers (Permission Model adoption from Package Managers #1300)
- Support path.resolve in C++ side to avoid
possiblyTransformPath
lib,src,permission: port path.resolve to C++ node#50758- Support relative paths lib,src,permission: port path.resolve to C++ node#50758
-
Read permissions from a config file (- Load permission settings from config files #1074policy.json
) - Throw access denied asynchronously for async APIs. (src,permission: throw async errors on async APIs node#52730)
fs.readFile('restricted-file.md', (error) => { // error is ERR_ACCESS_DENIED })
- Allow Addons src,permission: add --allow-addon flag node#51183
New permissions
- net
cc: @nodejs/tsc for awareness