chore: 移除自动生成的配置文件 (多用户协作冲突)
This commit is contained in:
@@ -16,3 +16,7 @@ config/framework/base_config.yaml
|
|||||||
!config/framework/base_config.yaml.example
|
!config/framework/base_config.yaml.example
|
||||||
*.orig
|
*.orig
|
||||||
*.clean
|
*.clean
|
||||||
|
config/framework/permission_rules.yaml
|
||||||
|
config/permissions/
|
||||||
|
config/plugins/
|
||||||
|
config/services/
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
# 权限规则定义
|
|
||||||
permission_levels:
|
|
||||||
- "read"
|
|
||||||
- "write"
|
|
||||||
- "execute"
|
|
||||||
- "admin"
|
|
||||||
|
|
||||||
default_permissions:
|
|
||||||
- "framework.status.read"
|
|
||||||
- "plugin.self.info.read"
|
|
||||||
|
|
||||||
admin_permissions:
|
|
||||||
- "framework.*"
|
|
||||||
- "plugin.*"
|
|
||||||
- "service.*"
|
|
||||||
- "filemanager.*"
|
|
||||||
|
|
||||||
# 文件管理权限 (v0.6.0 新增)
|
|
||||||
filemanager_permissions:
|
|
||||||
- "filemanager.access" # 浏览/读取文件
|
|
||||||
- "filemanager.write" # 创建/删除/重命名/上传/写入
|
|
||||||
- "filemanager.picker" # 插件调用文件选择器接口
|
|
||||||
- "filemanager.*" # 完整文件管理权限
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1,640 +0,0 @@
|
|||||||
{
|
|
||||||
"c8a2c46a": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 16743.234435695
|
|
||||||
},
|
|
||||||
"87725a61": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"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
|
|
||||||
},
|
|
||||||
"fe262a42": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 25770.11842246
|
|
||||||
},
|
|
||||||
"1ac1b718": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 25949.800077287
|
|
||||||
},
|
|
||||||
"bc954d7a": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26229.065811503
|
|
||||||
},
|
|
||||||
"ce4ac758": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26229.070282128
|
|
||||||
},
|
|
||||||
"c8b48b80": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26309.926670171
|
|
||||||
},
|
|
||||||
"79a90016": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26309.928777723
|
|
||||||
},
|
|
||||||
"42572063": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26336.230448858
|
|
||||||
},
|
|
||||||
"a7eb228c": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26336.245063286
|
|
||||||
},
|
|
||||||
"87bfab61": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26497.116175516
|
|
||||||
},
|
|
||||||
"d25e385d": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26497.118727235
|
|
||||||
},
|
|
||||||
"d030c615": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26605.864670631
|
|
||||||
},
|
|
||||||
"fe466e0e": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26605.866739485
|
|
||||||
},
|
|
||||||
"8e60727b": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26822.1525256
|
|
||||||
},
|
|
||||||
"25a21431": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 26822.157063829
|
|
||||||
},
|
|
||||||
"bf684985": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27154.600966307
|
|
||||||
},
|
|
||||||
"30f30786": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27154.605505473
|
|
||||||
},
|
|
||||||
"8408596b": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27252.869951113
|
|
||||||
},
|
|
||||||
"09adcbfe": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27252.872485748
|
|
||||||
},
|
|
||||||
"22047bb8": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27544.255777304
|
|
||||||
},
|
|
||||||
"e88d2c96": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27544.2709947
|
|
||||||
},
|
|
||||||
"29ffcf99": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27821.237625479
|
|
||||||
},
|
|
||||||
"bd46f35e": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27821.239961313
|
|
||||||
},
|
|
||||||
"2ae8c213": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27941.293164548
|
|
||||||
},
|
|
||||||
"dd24f0d1": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 27941.297902882
|
|
||||||
},
|
|
||||||
"bf0ab570": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28040.658771958
|
|
||||||
},
|
|
||||||
"2d3bd47f": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28040.668302635
|
|
||||||
},
|
|
||||||
"2a0ced83": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28375.085750685
|
|
||||||
},
|
|
||||||
"8a812834": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28375.089465424
|
|
||||||
},
|
|
||||||
"47fa9916": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28527.781918439
|
|
||||||
},
|
|
||||||
"6b69ef4a": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 28527.793469637
|
|
||||||
},
|
|
||||||
"5521ab41": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29038.232790171
|
|
||||||
},
|
|
||||||
"7da234f7": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29038.243362099
|
|
||||||
},
|
|
||||||
"08edc191": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29064.774713547
|
|
||||||
},
|
|
||||||
"afbc57ca": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29064.880357453
|
|
||||||
},
|
|
||||||
"8b057650": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29119.623393265
|
|
||||||
},
|
|
||||||
"46de40e2": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29119.62760988
|
|
||||||
},
|
|
||||||
"4a860528": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29166.970752102
|
|
||||||
},
|
|
||||||
"57820181": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29166.973069289
|
|
||||||
},
|
|
||||||
"4dc1c6d5": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29386.796805455
|
|
||||||
},
|
|
||||||
"0dd80fb1": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29386.802027486
|
|
||||||
},
|
|
||||||
"1daf5e1a": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29765.65822229
|
|
||||||
},
|
|
||||||
"b2d1dd2e": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 29765.666844425
|
|
||||||
},
|
|
||||||
"cbc42132": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 35916.606768589
|
|
||||||
},
|
|
||||||
"2bd9a945": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 35916.627558381
|
|
||||||
},
|
|
||||||
"b9fd53b0": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36350.458260715
|
|
||||||
},
|
|
||||||
"930a37d0": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36350.46484983
|
|
||||||
},
|
|
||||||
"95c794bd": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36524.104649607
|
|
||||||
},
|
|
||||||
"1d8c43c6": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36524.109265649
|
|
||||||
},
|
|
||||||
"870510a6": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36655.276166328
|
|
||||||
},
|
|
||||||
"42d38ced": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36655.279458412
|
|
||||||
},
|
|
||||||
"c4fe1ca1": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36827.036816679
|
|
||||||
},
|
|
||||||
"0fdbf97b": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36827.042118711
|
|
||||||
},
|
|
||||||
"321ef881": {
|
|
||||||
"plugin_name": "example_plugin",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.example.read",
|
|
||||||
"plugin.example.write",
|
|
||||||
"plugin.example.execute",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36952.123118871
|
|
||||||
},
|
|
||||||
"7c96931c": {
|
|
||||||
"plugin_name": "sentinel",
|
|
||||||
"permissions": [
|
|
||||||
"plugin.sentinel.read",
|
|
||||||
"plugin.sentinel.write",
|
|
||||||
"plugin.network.access",
|
|
||||||
"framework.event.subscribe",
|
|
||||||
"framework.command.execute"
|
|
||||||
],
|
|
||||||
"timestamp": 36952.125723559
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"sentinel": "pending",
|
|
||||||
"example_plugin": "pending"
|
|
||||||
}
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
commands:
|
|
||||||
autoscroll:
|
|
||||||
description: '滚动控制: 切换自动滚动'
|
|
||||||
permissions:
|
|
||||||
- framework.tui.control
|
|
||||||
source: internal
|
|
||||||
create-plugin:
|
|
||||||
description: 创建新插件脚手架
|
|
||||||
permissions:
|
|
||||||
- framework.scaffold.plugin
|
|
||||||
source: internal
|
|
||||||
echo: &id001
|
|
||||||
description: echo input
|
|
||||||
permissions: []
|
|
||||||
source: plugin.example_plugin
|
|
||||||
help:
|
|
||||||
description: 显示帮助信息
|
|
||||||
permissions:
|
|
||||||
- framework.command.help.read
|
|
||||||
source: internal
|
|
||||||
history:
|
|
||||||
description: 显示命令历史
|
|
||||||
permissions:
|
|
||||||
- framework.command.history.read
|
|
||||||
source: internal
|
|
||||||
install:
|
|
||||||
description: '从在线索引安装插件: install <name> 或 install --list'
|
|
||||||
permissions:
|
|
||||||
- framework.plugin.install
|
|
||||||
source: internal
|
|
||||||
netdiag:
|
|
||||||
description: 网络服务诊断
|
|
||||||
permissions:
|
|
||||||
- framework.network.diagnose
|
|
||||||
source: internal
|
|
||||||
permissions:
|
|
||||||
description: '权限管理: 显示权限状态'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
plugin_status: &id002
|
|
||||||
description: show status
|
|
||||||
permissions: []
|
|
||||||
source: plugin.example_plugin
|
|
||||||
pm_plugin_status:
|
|
||||||
description: '权限管理: 查看插件权限状态'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmallow:
|
|
||||||
description: '权限管理: 同意权限请求'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmdeny:
|
|
||||||
description: '权限管理: 拒绝权限请求'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmhelp:
|
|
||||||
description: '权限管理: 显示权限命令帮助'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmignore:
|
|
||||||
description: '权限管理: 暂时忽略权限请求'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmpending:
|
|
||||||
description: '权限管理: 查看待授权请求列表'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmrequests:
|
|
||||||
description: '权限管理: 查看待授权请求列表(别名)'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
pmtest:
|
|
||||||
description: '权限管理: 测试权限配置文件'
|
|
||||||
permissions:
|
|
||||||
- framework.permission.read
|
|
||||||
source: internal
|
|
||||||
scroll:
|
|
||||||
description: '滚动控制: 手动滚动到底部'
|
|
||||||
permissions:
|
|
||||||
- framework.tui.control
|
|
||||||
source: internal
|
|
||||||
sentinel: &id003
|
|
||||||
description: Sentinel 集群状态
|
|
||||||
permissions: []
|
|
||||||
source: plugin.sentinel
|
|
||||||
status:
|
|
||||||
description: 显示框架状态
|
|
||||||
permissions:
|
|
||||||
- framework.status.read
|
|
||||||
source: internal
|
|
||||||
testlog:
|
|
||||||
description: 生成测试日志
|
|
||||||
permissions:
|
|
||||||
- framework.command.test
|
|
||||||
source: internal
|
|
||||||
last_updated: 36952.108646684
|
|
||||||
plugin_commands:
|
|
||||||
example_plugin:
|
|
||||||
echo: *id001
|
|
||||||
plugin_status: *id002
|
|
||||||
sentinel:
|
|
||||||
sentinel: *id003
|
|
||||||
total_commands: 21
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
http_port: 4200
|
|
||||||
last_updated: 36952.124032725
|
|
||||||
plugin_routes:
|
|
||||||
example_plugin:
|
|
||||||
- methods:
|
|
||||||
- GET
|
|
||||||
path: /example_plugin/api/example/info
|
|
||||||
require_auth: false
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /example_plugin/api/plugin/echo
|
|
||||||
require_auth: true
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /example_plugin/api/plugin/plugin_status
|
|
||||||
require_auth: true
|
|
||||||
sentinel:
|
|
||||||
- methods:
|
|
||||||
- GET
|
|
||||||
path: /sentinel/api/nodes
|
|
||||||
require_auth: true
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /sentinel/api/nodes
|
|
||||||
require_auth: true
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /sentinel/api/nodes/test
|
|
||||||
require_auth: true
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /sentinel/api/nodes/delete
|
|
||||||
require_auth: true
|
|
||||||
- methods:
|
|
||||||
- POST
|
|
||||||
path: /sentinel/api/plugin/sentinel
|
|
||||||
require_auth: true
|
|
||||||
websocket_port: 4240
|
|
||||||
Reference in New Issue
Block a user