Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support volume restrictions on file:// urls, update SQLite URL support for it #423

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

jsoverson
Copy link
Contributor

This PR adds support for applying Volume restrictions to Url resources if the URL is a file:// URL.

The only notable side effect is that SQLite DB URLs must now use the file:// scheme vs the custom sqlite:// scheme. This is to avoid setting the precedent of some URL schemes pointing to files internally.

This PR also adds support for SQLite in-memory databases which can be enabled with the URL sqlite://memory (since it's special-by-default and doesn't point to any real resource). The errors thrown in either case point the user to the right syntax when possible.

@jsoverson jsoverson merged commit 4516bb7 into main Aug 28, 2023
@jsoverson jsoverson deleted the lockdown-file-urls branch August 28, 2023 15:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants