浏览代码

管理员默认权限

MaiXinRong 5 月之前
父节点
当前提交
80ed00f615
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      app/service/sub_proj_permission.js

+ 5 - 0
app/service/sub_proj_permission.js

@@ -103,6 +103,11 @@ module.exports = app => {
                 file_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.file, 'value'),
                 manage_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.manage, 'value'),
                 filing_type: 'all',
+                info_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.info, 'value'),
+                datacollect_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.datacollect, 'value'),
+                contract_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.contract, 'value'),
+                fund_pay_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.fund_pay, 'value'),
+                fund_trans_permission: this.ctx.helper.mapAllSubField(this.PermissionConst.fund_trans, 'value'),
             }
         }