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

ynh_local_curl: temporarily auto-add visitors if needed #1370

Merged
merged 1 commit into from Nov 3, 2021

Conversation

alexAubin
Copy link
Member

The problem

Some apps have to temporarily enable visitors to the main permission to run ynh_local_curl, this is boring as hell, makes the code more complex that it needs to be

Solution

Just temporarily enable visitors during every curl call

Idk if this is too brutal or not, maybe we could decide to add a new option like --temporarily-enable-visitors idk

PR Status

Yolocommited

How to test

Zblerg try to reproduce the scenario where the app ain't publicly exposed and need to perform a curl ...

@alexAubin alexAubin merged commit 20037cf into dev Nov 3, 2021
@alexAubin alexAubin deleted the curl-auto-visitors-if-needed branch November 3, 2021 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants