Selaa lähdekoodia

新增ide权限

zhouhao 8 vuotta sitten
vanhempi
commit
73365cd434

+ 1 - 0
hsweb-web-starter/src/main/resources/org/hsweb/start/scripts/initialize/initialize.groovy

@@ -24,6 +24,7 @@ def modules = [
         , [u_id: 'datasource', name: '数据源', uri: 'admin/datasource/list.html', icon: '', parent_id: 'sys-parent', remark: '', status: 1, optional: '[{"id":"M","text":"菜单可见","checked":true},{"id":"import","text":"导入excel","checked":true},{"id":"export","text":"导出excel","checked":true},{"id":"R","text":"查询","checked":true},{"id":"C","text":"新增","checked":true},{"id":"U","text":"修改","checked":true},{"id":"D","text":"删除","checked":false}]', sort_index: 409]
         , [u_id: 'sys-monitor', name: '系统维护', uri: '', icon: 'icon-application-xp-terminal', parent_id: '-1', remark: '', status: 1, optional: '[{"id":"M"}]', sort_index: 5]
         , [u_id: 'system-monitor', name: '系统监控', uri: 'admin/system-monitor/cpu-mem.html', icon: '', parent_id: 'sys-monitor', remark: '', status: 1, optional: '[{"id":"M","text":"菜单可见","checked":true},{"id":"R","text":"查询","checked":true},{"id":"C","text":"新增","checked":true},{"id":"U","text":"修改","checked":true},{"id":"D","text":"删除","checked":false}]', sort_index: 501]
+        , [u_id: 'ide', name: 'IDE', uri: '', icon: '', parent_id: 'sys-parent', remark: '默认权限', status: 1, optional: '[{"id":"meta","text":"查询","checked":true},{"id":"exec","text":"执行脚本","checked":false}]', sort_index: 420]
         , [u_id: 'others', name: '其他权限', uri: '', icon: 'icon-page-white-magnify', parent_id: '-1', remark: '', status: 1, optional: '[]', sort_index: 6]
         , [u_id: 'resources', name: '文件管理', uri: '', icon: '', parent_id: 'others', remark: '', status: 1, optional: '[{"id":"R","text":"查询","checked":true},{"id":"C","text":"新增","checked":true},{"id":"U","text":"修改","checked":true},{"id":"D","text":"删除","checked":false}]', sort_index: 601]
         , [u_id: 'query-plan', name: '查询方案', uri: '', icon: 'icon-table-multiple', parent_id: 'others', remark: '', status: 1, optional: '[{"id":"R","text":"查询","checked":true},{"id":"C","text":"新增","checked":true},{"id":"U","text":"修改","checked":true},{"id":"D","text":"删除","checked":false}]', sort_index: 602]