feat(功能用例): 功能用例增加权限
This commit is contained in:
parent
c7b775d004
commit
94c7a68df5
|
@ -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 ------*/
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# permission
|
||||
permission.case_management.name=用例管理
|
||||
permission.functional_case.name=功能用例
|
||||
permission.functional_case.comment=评论
|
||||
#module:FunctionalCase
|
||||
functional_case.id.not_blank=ID不能为空
|
||||
functional_case.num.not_blank=业务ID不能为空
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# permission
|
||||
permission.case_management.name=Case management
|
||||
permission.functional_case.name=Functional case
|
||||
permission.functional_case.comment=Comment
|
||||
#module:FunctionalCase
|
||||
functional_case.id.not_blank=ID cannot be empty
|
||||
functional_case.num.not_blank=Business ID cannot be empty
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# permission
|
||||
permission.case_management.name=用例管理
|
||||
permission.functional_case.name=功能用例
|
||||
permission.functional_case.comment=评论
|
||||
#module:FunctionalCase
|
||||
functional_case.id.not_blank=ID不能为空
|
||||
functional_case.num.not_blank=业务ID不能为空
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
# permission
|
||||
permission.case_management.name=用例管理
|
||||
permission.functional_case.name=功能用例
|
||||
permission.functional_case.comment=評論
|
||||
#module:FunctionalCase
|
||||
functional_case.id.not_blank=ID不能為空
|
||||
functional_case.num.not_blank=业务ID不能為空
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue