feat(modules): config loader refactor — YAML → DB → env override pipeline #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref: docs/MODULES.md §5.1–5.3, §8, §11 step 2
Refactor config loading to support the three-tier precedence model:
config.yamlinto Go config struct (existing)settings_overrides— merge each dotted-path key into the structSILO_*vars)module_state— override default enabled/disabled from YAMLdagrequiresjobs,jobsrequiresauth,odoorequiresauth)Config YAML changes (§8):
modulessection to config struct for optional module togglesauth.enabledcontrols auth module)modules:, its default state from §2.2 appliesDotted path resolver:
auth.ldap.enabled→ setsConfig.Auth.LDAP.EnabledDepends on #94.