From 4cbe44ed6fb53d7c2352ef80361c418ec38c7d69 Mon Sep 17 00:00:00 2001 From: Ranieri Innocenti Spada <56073060+Ranieri93@users.noreply.github.com> Date: Wed, 8 Nov 2023 00:00:17 +0000 Subject: [PATCH] doc: update pm documentation to include resource PR-URL: https://github.com/nodejs/node/pull/50601 Reviewed-By: Rafael Gonzaga Reviewed-By: Marco Ippolito --- doc/api/permissions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/permissions.md b/doc/api/permissions.md index 92d4a6f4d0a2d8..119ec2e80a4b12 100644 --- a/doc/api/permissions.md +++ b/doc/api/permissions.md @@ -498,7 +498,8 @@ Error: Access to this API has been restricted at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:24) at node:internal/main/run_main_module:23:47 { code: 'ERR_ACCESS_DENIED', - permission: 'FileSystemRead' + permission: 'FileSystemRead', + resource: '/home/user/index.js' } ```