Skip to content

Commit 73365cd

Browse files
committed
新增ide权限
1 parent 5929e32 commit 73365cd

File tree

1 file changed

+1
-0
lines changed
  • hsweb-web-starter/src/main/resources/org/hsweb/start/scripts/initialize

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def modules = [
2424
, [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]
2525
, [u_id: 'sys-monitor', name: '系统维护', uri: '', icon: 'icon-application-xp-terminal', parent_id: '-1', remark: '', status: 1, optional: '[{"id":"M"}]', sort_index: 5]
2626
, [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]
27+
, [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]
2728
, [u_id: 'others', name: '其他权限', uri: '', icon: 'icon-page-white-magnify', parent_id: '-1', remark: '', status: 1, optional: '[]', sort_index: 6]
2829
, [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]
2930
, [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]

0 commit comments

Comments
 (0)