Details
Description
This task is concerned with changes to config option values where a value may change such that it no longer matches those in use by existing services. If a service is updated that used the old config option value, it will be set to another config option value because the original no longer exists.
The proposed solution is to two-fold:
- When saving a config option, each (current) value must be checked to see if a service is using it. If a service does use it, we must display an error. No option value can be deleted, or changed, if it is in use by a service.
- Add a select option to choose the value's status (i.e. Active/Inactive). An inactive option value will not be displayed anywhere, except on the service to which it is already set. This will allow the existing option to be maintained if it is not explicitly changed by admin or client. Clients can still have the ability to upgrade to another config option value from an inactive one.
Consider these scenarios: