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

Do not override FS config if no allowed paths are provided #91

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

mymmrac
Copy link
Contributor

@mymmrac mymmrac commented Jan 13, 2025

This PR allows users to use FS config from ModuleConfig (FS is overridden only if Manifest specifies AllowedPaths)

@nilslice
Copy link
Member

Thank you @mymmrac! Will have one more person take a look at this for some additional guidance, but I think this looks good.

@nilslice nilslice requested review from evacchi and removed request for zshipko January 13, 2025 21:48
Copy link
Collaborator

@mhmd-azeez mhmd-azeez 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 for the PR!

@evacchi
Copy link
Contributor

evacchi commented Jan 15, 2025

note to self: will need to do something similar in the chicory-sdk!

@mymmrac
Copy link
Contributor Author

mymmrac commented Jan 16, 2025

@mhmd-azeez @evacchi please merge this PR if everything is ok, since I don't have write permissions I can't merge

@mhmd-azeez mhmd-azeez merged commit 1e14b80 into extism:main Jan 16, 2025
3 checks passed
@mymmrac mymmrac deleted the no-fs-override branch January 16, 2025 09:03
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.

4 participants