Question
Restrict Email and DB settings from dev to production (Application Settings)
Regarding the mail and DB settings, I would like to configure them for the production environment. Currently, it is possible to set the email and DB targets from the development environment to the production environment. This situation is undesirable, so I looked for ways to restrict it through infrastructure, but found that additional contracts are required, making implementation impossible. Therefore, I would like to implement a solution in the application to prevent settings from being directed from the development environment to the production environment. Specifically, I want to set an alert if production-level settings are applied when the production level is not 5. How should I configure this?
I've already raised this question as SR, but I heard that it might be possible to implement this using the Application Settings feature. Could you please explain how to implement this using Application Settings?