Skip to content

Commit

Permalink
fix(测试计划): 修复删除未发送消息通知&补充权限
Browse files Browse the repository at this point in the history
--bug=1040932 --user=王旭 【项目管理】消息设置-测试计划删除,更新站内信接收平台收不到消息通知 https://www.tapd.cn/55049933/s/1518221
  • Loading branch information
WangXu10 authored and liuruibin committed May 22, 2024
1 parent 605a37f commit c9d6933
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ 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', 'PROJECT_TEST_PLAN_REPORT:READ+SHARE');
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_member', 'PROJECT_TEST_PLAN_REPORT:READ+DELETE');

INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TEST_PLAN:READ');
INSERT INTO user_role_permission (id, role_id, permission_id) VALUES (UUID_SHORT(), 'project_admin', 'PROJECT_APPLICATION_TEST_PLAN:UPDATE');

-- set innodb lock wait timeout to default
SET SESSION innodb_lock_wait_timeout = DEFAULT;
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,14 @@
"name": "permission.project_application.name",
"license": true,
"permissions": [
{
"id": "PROJECT_APPLICATION_TEST_PLAN:READ",
"name": "permission.project_application_test_plan.read"
},
{
"id": "PROJECT_APPLICATION_TEST_PLAN:UPDATE",
"name": "permission.project_application_test_plan.update"
},
{
"id": "PROJECT_APPLICATION_API:READ",
"name": "permission.project_application_api.read"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@Data
@NoArgsConstructor
public class TestPlanDTO {
private String id;

@Schema(description = "message.domain.test_plan_num")
private Long num;
Expand Down

0 comments on commit c9d6933

Please sign in to comment.