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

Configuration To Disable "Pull & Restore" #62

Open
shennyg opened this issue Jan 4, 2024 · 1 comment
Open

Configuration To Disable "Pull & Restore" #62

shennyg opened this issue Jan 4, 2024 · 1 comment

Comments

@shennyg
Copy link

shennyg commented Jan 4, 2024

I'm on Craft 3 and this plugin v1.4.0. I'm looking to prevent the ability to restore on an environment basis.

For example I'd like to be able to Push the DB from production and ensure we never "Pull & Restore" from production. It would prevent accidentally restoring on the wrong ENV.

I'm imagining a new Lightswitch setting that is named something like "Prevent Pull & Restore" and it's defaulted to false and configurable with a ENV variable. Thanks!

I could see this expanding to disabling Push and Delete Databases and similar for the Volumes feature but I don't need any of those for now 😄

@timmyomahony
Copy link
Owner

Interesting, sounds like a good idea. I'll look into adding 👍🏻

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

No branches or pull requests

2 participants