security: 配置文件模板化 — base_config.yaml 不再入库
- base_config.yaml → .gitignore (含真实密码不入库) - 新增 base_config.yaml.example 模板 (password: CHANGE_ME) - InitService: 检测缺失时自动从模板复制 - 首次启动自动创建配置文件 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,5 +20,27 @@
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 16793.53933677
|
||||
},
|
||||
"0262acd7": {
|
||||
"plugin_name": "sentinel",
|
||||
"permissions": [
|
||||
"plugin.sentinel.read",
|
||||
"plugin.sentinel.write",
|
||||
"plugin.network.access",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 17027.386824076
|
||||
},
|
||||
"900e1365": {
|
||||
"plugin_name": "sentinel",
|
||||
"permissions": [
|
||||
"plugin.sentinel.read",
|
||||
"plugin.sentinel.write",
|
||||
"plugin.network.access",
|
||||
"framework.event.subscribe",
|
||||
"framework.command.execute"
|
||||
],
|
||||
"timestamp": 17177.106703342
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user