feat(功能用例): 新增功能用例脑图权限

This commit is contained in:
guoyuqi 2024-01-12 19:12:12 +08:00 committed by Craftsman
parent 2438618c0c
commit 2e51b7c9d1
7 changed files with 11 additions and 0 deletions

View File

@ -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');

View File

@ -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";

View File

@ -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=关联/取消关联

View File

@ -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

View File

@ -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=关联/取消关联

View File

@ -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=評審

View File

@ -29,6 +29,10 @@
}, },
{ {
"id": "FUNCTIONAL_CASE:READ+IMPORT" "id": "FUNCTIONAL_CASE:READ+IMPORT"
},
{
"id": "FUNCTIONAL_CASE:READ+MINDER",
"name": "permission.functional_case.minder"
} }
] ]
}, },