feat(功能用例): 功能用例增加权限

This commit is contained in:
guoyuqi 2023-11-03 16:00:59 +08:00 committed by 刘瑞斌
parent c7b775d004
commit 94c7a68df5
6 changed files with 57 additions and 0 deletions

View File

@ -213,6 +213,10 @@ public class PermissionConstants {
public static final String FUNCTIONAL_CASE_READ_UPDATE = "FUNCTIONAL_CASE:READ+UPDATE";
public static final String FUNCTIONAL_CASE_READ_DELETE = "FUNCTIONAL_CASE:READ+DELETE";
public static final String FUNCTIONAL_CASE_READ_COMMENT = "FUNCTIONAL_CASE:READ+COMMENT";
public static final String FUNCTIONAL_CASE_READ_EXPORT = "FUNCTIONAL_CASE:READ+EXPORT";
public static final String FUNCTIONAL_CASE_READ_IMPORT = "FUNCTIONAL_CASE:READ+IMPORT";
/*------ end: FUNCTIONAL_CASE ------*/

View File

@ -1,3 +1,7 @@
# permission
permission.case_management.name=用例管理
permission.functional_case.name=功能用例
permission.functional_case.comment=评论
#moduleFunctionalCase
functional_case.id.not_blank=ID不能为空
functional_case.num.not_blank=业务ID不能为空

View File

@ -1,3 +1,7 @@
# permission
permission.case_management.name=Case management
permission.functional_case.name=Functional case
permission.functional_case.comment=Comment
#moduleFunctionalCase
functional_case.id.not_blank=ID cannot be empty
functional_case.num.not_blank=Business ID cannot be empty

View File

@ -1,3 +1,7 @@
# permission
permission.case_management.name=用例管理
permission.functional_case.name=功能用例
permission.functional_case.comment=评论
#moduleFunctionalCase
functional_case.id.not_blank=ID不能为空
functional_case.num.not_blank=业务ID不能为空

View File

@ -1,3 +1,7 @@
# permission
permission.case_management.name=用例管理
permission.functional_case.name=功能用例
permission.functional_case.comment=評論
#moduleFunctionalCase
functional_case.id.not_blank=ID不能為空
functional_case.num.not_blank=业务ID不能為空

View File

@ -0,0 +1,37 @@
[
{
"id": "CASE_MANAGEMENT",
"name": "permission.case_management.name",
"type": "CASE_MANAGEMENT",
"children": [
{
"id": "FUNCTIONAL_CASE",
"name": "permission.functional_case.name",
"permissions": [
{
"id": "FUNCTIONAL_CASE:READ"
},
{
"id": "FUNCTIONAL_CASE:READ+ADD"
},
{
"id": "FUNCTIONAL_CASE:READ+UPDATE"
},
{
"id": "FUNCTIONAL_CASE:READ+DELETE"
},
{
"id": "FUNCTIONAL_CASE:READ+COMMENT",
"name": "permission.functional_case.comment"
},
{
"id": "FUNCTIONAL_CASE:READ+EXPORT"
},
{
"id": "FUNCTIONAL_CASE:READ+IMPORT"
}
]
}
]
}
]