-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool for permission policy #49039
Comments
Can you elaborate how that should work exactly? |
Quote #48591 (comment)
To me, permission policy.json seems like the nodejs version of importmap, but different interface to suite nodejs need.
So, just like a tool generate importmap from node_modules but for nodejs. |
@bmeck you should chime in here |
I've looked into this in a variety of avenues ; the first iteration was an out of band tool like https://github.com/bmeck/node-policy (5 years ago 😅); then a prompt based system like a mobile app/browser permissions model. My hesitancy with generating after a run using coverage is a a few fold:
I think there are problems with the other approaches mentioned above however:
I like the overall idea though, just never got encouraging feedback from any of my efforts a few years back so think renewed interest may be needed to actually get it off the ground. |
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment. For more information on how the project manages feature requests, please consult the feature request management document. |
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. For more information on how the project manages feature requests, please consult the feature request management document. |
What is the problem this feature will solve?
https://nodejs.org/dist/latest-v20.x/docs/api/permissions.html
Interesting feature.
But seems lack of tool to generate
policy.json
fromnode_modules
.What is the feature you are proposing to solve the problem?
Provide tool generate policy.json from
node_modules
, withinnodejs/node
, or under org nodejs.What alternatives have you considered?
The text was updated successfully, but these errors were encountered: