Skip to content
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

Dynamic import requires file access permissions #4003

Closed
fakoua opened this issue Feb 15, 2020 · 2 comments
Closed

Dynamic import requires file access permissions #4003

fakoua opened this issue Feb 15, 2020 · 2 comments

Comments

@fakoua
Copy link

fakoua commented Feb 15, 2020

Hi,
Consider the following imports,
import t from "f.ts"
And
let t = await import("f.ts")

Technically, both syntax access the file system, but the dynamic import requires the file access flag to be set.

It confuses the backend user, while the application may not need that permission.

Please advise.
Thanks

@nayeemrmn
Copy link
Collaborator

@fakoua See #2761. It definitely does need read permissions for local modules and especially net permissions for remote modules.

@fakoua
Copy link
Author

fakoua commented Feb 18, 2020

Many thanks.

@fakoua fakoua closed this as completed Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants