feat(mcp): 密钥授权页,仅创建者拥有的节点可授权(防越权与漂移)

This commit is contained in:
augushong
2026-08-16 21:18:40 +08:00
parent 25c98b6ed6
commit 744a0819f2
7 changed files with 295 additions and 7 deletions

View File

@@ -40,7 +40,15 @@ $(function(){
{field: 'status', search: 'select', selectList: ua.getDataBrage('select_list_status'), title: '状态', width: 100, templet: ua.table.switch},
{field: 'remark', title: '备注', templet: ua.table.text},
{
width: 150, title: '操作', templet: ua.table.tool, fixed: 'right', operat: [
width: 210, title: '操作', templet: ua.table.tool, fixed: 'right', operat: [
[{
text: '授权',
url: init.authorize_url,
method: 'open',
auth: 'authorize',
class: 'layui-btn layui-btn-normal layui-btn-xs',
extend: 'data-full="true"'
}],
'edit',
'delete'
]