Browse Source

管理员默认权限

MaiXinRong 5 months ago
parent
commit
80ed00f615
1 changed files with 5 additions and 0 deletions
  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'),
             }
         }