Skip to content

feat(runtime): allow URL for permissions #11578

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

Merged
merged 4 commits into from
Aug 6, 2021

Conversation

crowlKats
Copy link
Member

Closes #11036
not only for Deno.permissions, but worker & test permissions as well.

@bartlomieju
Copy link
Member

bartlomieju commented Aug 4, 2021

Thanks @crowlKats this is very useful, could you add some tests that exercise this change? After that we're good to land.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Leo

@bartlomieju bartlomieju merged commit 15b0e61 into denoland:main Aug 6, 2021
@crowlKats crowlKats deleted the deno.permissions_url branch August 6, 2021 13:36
@lucacasonato
Copy link
Member

I am not in favor for having this for net permissions as it would impede our ability to add full URL network permissions in the allow list down the line.

@bartlomieju
Copy link
Member

I am not in favor for having this for net permissions as it would impede our ability to add full URL network permissions in the allow list down the line.

How does that conflict with accepting URLs in runtime APIs?

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

Successfully merging this pull request may close these issues.

Deno.permissions APIs should accept URLs where appropriate
3 participants