feat(功能用例): 新增功能用例脑图权限
This commit is contained in:
parent
2438618c0c
commit
2e51b7c9d1
|
@ -186,6 +186,7 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+COMMENT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+COMMENT');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+EXPORT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+EXPORT');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+IMPORT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+IMPORT');
|
||||||
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'FUNCTIONAL_CASE:READ+MINDER');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ+ADD');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ+ADD');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ+UPDATE');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'CASE_REVIEW:READ+UPDATE');
|
||||||
|
@ -304,6 +305,7 @@ INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+COMMENT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+COMMENT');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+EXPORT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+EXPORT');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+IMPORT');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+IMPORT');
|
||||||
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'FUNCTIONAL_CASE:READ+MINDER');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ+ADD');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ+ADD');
|
||||||
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ+UPDATE');
|
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'CASE_REVIEW:READ+UPDATE');
|
||||||
|
|
|
@ -221,6 +221,7 @@ public class PermissionConstants {
|
||||||
public static final String FUNCTIONAL_CASE_READ_COMMENT = "FUNCTIONAL_CASE:READ+COMMENT";
|
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_EXPORT = "FUNCTIONAL_CASE:READ+EXPORT";
|
||||||
public static final String FUNCTIONAL_CASE_READ_IMPORT = "FUNCTIONAL_CASE:READ+IMPORT";
|
public static final String FUNCTIONAL_CASE_READ_IMPORT = "FUNCTIONAL_CASE:READ+IMPORT";
|
||||||
|
public static final String FUNCTIONAL_CASE_READ_MINDER = "FUNCTIONAL_CASE:READ+MINDER";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
permission.case_management.name=用例管理
|
permission.case_management.name=用例管理
|
||||||
permission.functional_case.name=功能用例
|
permission.functional_case.name=功能用例
|
||||||
permission.functional_case.comment=评论
|
permission.functional_case.comment=评论
|
||||||
|
permission.functional_case.minder=脑图编辑
|
||||||
permission.case_review.name=用例评审
|
permission.case_review.name=用例评审
|
||||||
permission.case_review.review=评审
|
permission.case_review.review=评审
|
||||||
permission.case_review.relevance=关联/取消关联
|
permission.case_review.relevance=关联/取消关联
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# permission
|
# permission
|
||||||
permission.case_management.name=Case management
|
permission.case_management.name=Case management
|
||||||
permission.functional_case.name=Functional case
|
permission.functional_case.name=Functional case
|
||||||
|
permission.functional_case.minder=Mind map editing
|
||||||
permission.functional_case.comment=Comment
|
permission.functional_case.comment=Comment
|
||||||
permission.case_review.name=Case review
|
permission.case_review.name=Case review
|
||||||
permission.case_review.review=Review
|
permission.case_review.review=Review
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
permission.case_management.name=用例管理
|
permission.case_management.name=用例管理
|
||||||
permission.functional_case.name=功能用例
|
permission.functional_case.name=功能用例
|
||||||
permission.functional_case.comment=评论
|
permission.functional_case.comment=评论
|
||||||
|
permission.functional_case.minder=脑图编辑
|
||||||
permission.case_review.name=用例评审
|
permission.case_review.name=用例评审
|
||||||
permission.case_review.review=评审
|
permission.case_review.review=评审
|
||||||
permission.case_review.relevance=关联/取消关联
|
permission.case_review.relevance=关联/取消关联
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# permission
|
# permission
|
||||||
permission.case_management.name=用例管理
|
permission.case_management.name=用例管理
|
||||||
permission.functional_case.name=功能用例
|
permission.functional_case.name=功能用例
|
||||||
|
permission.functional_case.minder=腦圖編輯
|
||||||
permission.functional_case.comment=評論
|
permission.functional_case.comment=評論
|
||||||
permission.case_review.name=用例評審
|
permission.case_review.name=用例評審
|
||||||
permission.case_review.review=評審
|
permission.case_review.review=評審
|
||||||
|
|
|
@ -29,6 +29,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "FUNCTIONAL_CASE:READ+IMPORT"
|
"id": "FUNCTIONAL_CASE:READ+IMPORT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "FUNCTIONAL_CASE:READ+MINDER",
|
||||||
|
"name": "permission.functional_case.minder"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue