Add PROGRAM_MAY_MODIFY_SETTINGS
setting
#26393
Labels
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Problem derivation
At the moment, we always need to delegate config changes to the admins of an instance, and refuse to start otherwise.
The reason for that is two-fold:
app.ini
or not, i.e. Docker users and Kubernetes users like to use theirapp.ini
read only once it is initialized.But what if we would know if we can modify the config? Then we could automate a lot of things that are currently impossible.
So, what I'm proposing is the following:
Solution
As a first step to automating config changes, we can add a
PROGRAM_MAY_MODIFY_SETTINGS
setting (I guess in the default section) that istrue
by default (the docker image and helm chart would set it to false by default).It has the following meaning:
false
: No change to nowtrue
:INSTALL_LOCK=false
, no change to now, so treat it just likefalse
aboveAdvantages
[git.config]
for reflog cleaning up #24958, whose changes could be done automatically then)The text was updated successfully, but these errors were encountered: