fix(项目报告(X-PACK)): 项目报告增加权限配置

项目报告增加权限配置
This commit is contained in:
song-tianyang 2021-11-22 18:17:12 +08:00 committed by 刘瑞斌
parent ced5ddf265
commit 239ae0bfe1
4 changed files with 24 additions and 19 deletions

View File

@ -8,12 +8,12 @@ public class PermissionConstants {
public static final String SYSTEM_USER_READ_EDIT = "SYSTEM_USER:READ+EDIT";
public static final String SYSTEM_USER_READ_DELETE = "SYSTEM_USER:READ+DELETE";
public static final String SYSTEM_USER_READ_EDIT_PASSWORD = "SYSTEM_USER:READ+EDIT_PASSWORD";
public static final String SYSTEM_ORGANIZATION_READ = "SYSTEM_ORGANIZATION:READ";
public static final String SYSTEM_ORGANIZATION_READ_CREATE = "SYSTEM_ORGANIZATION:READ+CREATE";
public static final String SYSTEM_ORGANIZATION_READ_EDIT = "SYSTEM_ORGANIZATION:READ+EDIT";
public static final String SYSTEM_ORGANIZATION_READ_DELETE = "SYSTEM_ORGANIZATION:READ+DELETE";
public static final String SYSTEM_WORKSPACE_READ = "SYSTEM_WORKSPACE:READ";
public static final String SYSTEM_WORKSPACE_READ_CREATE = "SYSTEM_WORKSPACE:READ+CREATE";
public static final String SYSTEM_WORKSPACE_READ_EDIT = "SYSTEM_WORKSPACE:READ+EDIT";
@ -29,7 +29,7 @@ public class PermissionConstants {
public static final String SYSTEM_GROUP_READ_EDIT = "SYSTEM_GROUP:READ+EDIT";
public static final String SYSTEM_GROUP_READ_SETTING_PERMISSION = "SYSTEM_GROUP:READ+SETTING_PERMISSION";
public static final String SYSTEM_GROUP_READ_DELETE = "SYSTEM_GROUP:READ+DELETE";
public static final String SYSTEM_SETTING_READ = "SYSTEM_SETTING:READ";
public static final String SYSTEM_SETTING_READ_EDIT = "SYSTEM_SETTING:READ+EDIT";
public static final String SYSTEM_SETTING_READ_AUTH_MANAGE = "SYSTEM_SETTING:READ+AUTH_MANAGE";
@ -38,13 +38,13 @@ public class PermissionConstants {
public static final String SYSTEM_AUTH_READ = "SYSTEM_AUTH:READ";
public static final String SYSTEM_AUTH_READ_EDIT = "SYSTEM_AUTH:READ+EDIT";
public static final String WORKSPACE_SERVICE_READ = "WORKSPACE_SERVICE:READ";
public static final String WORKSPACE_SERVICE_READ_EDIT = "WORKSPACE_SERVICE:READ+EDIT";
public static final String WORKSPACE_MESSAGE_READ = "WORKSPACE_MESSAGE:READ";
public static final String WORKSPACE_MESSAGE_READ_EDIT = "WORKSPACE_MESSAGE:READ+EDIT";
public static final String WORKSPACE_USER_READ = "WORKSPACE_USER:READ";
public static final String WORKSPACE_USER_READ_CREATE = "WORKSPACE_USER:READ+CREATE";
public static final String WORKSPACE_USER_READ_EDIT = "WORKSPACE_USER:READ+EDIT";
@ -171,4 +171,9 @@ public class PermissionConstants {
public static final String PROJECT_PERFORMANCE_REPORT_READ_DELETE = "PROJECT_PERFORMANCE_REPORT:READ+DELETE";
public static final String PROJECT_PERFORMANCE_REPORT_READ_EXPORT = "PROJECT_PERFORMANCE_REPORT:READ+EXPORT";
public static final String PROJECT_ENTERPRISE_REPORT_EXPORT = "PROJECT_ENTERPRISE_REPORT:READ+EXPORT";
public static final String PROJECT_ENTERPRISE_REPORT_CREATE = "PROJECT_ENTERPRISE_REPORT:READ+CREATE";
public static final String PROJECT_ENTERPRISE_REPORT_EDIT = "PROJECT_ENTERPRISE_REPORT:READ+EDIT";
public static final String PROJECT_ENTERPRISE_REPORT_DELETE = "PROJECT_ENTERPRISE_REPORT:READ+DELETE";
public static final String PROJECT_ENTERPRISE_REPORT_COPY = "PROJECT_ENTERPRISE_REPORT:READ+COPY";
}

@ -1 +1 @@
Subproject commit da4f782aa0541e7278a960ba7acf793106783288
Subproject commit 563795dead1d056385eafd68e68e307dbf4e82e8

View File

@ -840,33 +840,33 @@
"resourceId": "SYSTEM_PLUGIN"
},
{
"id": "ENTERPRISE_REPORT:READ+EXPORT",
"id": "PROJECT_ENTERPRISE_REPORT:READ+EXPORT",
"name": "发送邮件",
"resourceId": "ENTERPRISE_REPORT",
"resourceId": "PROJECT_ENTERPRISE_REPORT",
"license": true
},
{
"id": "ENTERPRISE_REPORT:READ+CREATE",
"id": "PROJECT_ENTERPRISE_REPORT:READ+CREATE",
"name": "创建报告",
"resourceId": "ENTERPRISE_REPORT",
"resourceId": "PROJECT_ENTERPRISE_REPORT",
"license": true
},
{
"id": "ENTERPRISE_REPORT:READ+DELETE",
"id": "PROJECT_ENTERPRISE_REPORT:READ+DELETE",
"name": "删除报告",
"resourceId": "ENTERPRISE_REPORT",
"resourceId": "PROJECT_ENTERPRISE_REPORT",
"license": true
},
{
"id": "ENTERPRISE_REPORT:READ+COPY",
"id": "PROJECT_ENTERPRISE_REPORT:READ+COPY",
"name": "复制报告",
"resourceId": "ENTERPRISE_REPORT",
"resourceId": "PROJECT_ENTERPRISE_REPORT",
"license": true
},
{
"id": "ENTERPRISE_REPORT:READ+EDIT",
"id": "PROJECT_ENTERPRISE_REPORT:READ+EDIT",
"name": "修改报告",
"resourceId": "ENTERPRISE_REPORT",
"resourceId": "PROJECT_ENTERPRISE_REPORT",
"license": true
}
],
@ -1004,7 +1004,7 @@
"name": "报表"
},
{
"id": "ENTERPRISE_REPORT",
"id": "PROJECT_ENTERPRISE_REPORT",
"name": "项目报告"
},
{

@ -1 +1 @@
Subproject commit d1b44c0a5f6dfabf791a7c3176b3f8422236b547
Subproject commit 3da00ab5e55cf0dffc26e6230fbd9db4bde1e47e