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

[feat] permission file #16019

Closed
loynoir opened this issue Sep 25, 2022 · 1 comment
Closed

[feat] permission file #16019

loynoir opened this issue Sep 25, 2022 · 1 comment
Labels
duplicate a duplicate of another issue

Comments

@loynoir
Copy link

loynoir commented Sep 25, 2022

Scenario

$ deno test ${pem_hello} ./hello.ts
$ deno test ${pem_world} ./world.ts
# WILD PERM
$ deno test -A
$ deno run ${perm_hello} ./hello.ts
$ deno run ${perm_hello} ./world.ts
$ deno compile ${perm_hello} ./hello.ts
$ deno compile ${perm_world} ./world.ts

Feat

deno.jsonc

{
  "perm": Perm | Path | WhatwgImportId
}
type Perm = Record<PermId, DenoPerm>
type PermId = ImportMapId | PlaceHolderImportId | WhatwgImportId;
$ deno test
$ deno run ./hello.ts
$ deno run ./world.ts
$ deno compile ./hello.ts
$ deno compile ./world.ts
@kitsonk
Copy link
Contributor

kitsonk commented Sep 26, 2022

Duplicate of #12763

@kitsonk kitsonk marked this as a duplicate of #12763 Sep 26, 2022
@kitsonk kitsonk closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2022
@kitsonk kitsonk added the duplicate a duplicate of another issue label Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants