fix(测试计划): 修复删除未发送消息通知&补充权限
--bug=1040932 --user=王旭 【项目管理】消息设置-测试计划删除,更新站内信接收平台收不到消息通知 https://www.tapd.cn/55049933/s/1518221
This commit is contained in:
parent
605a37f031
commit
c9d69335bb
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -11,6 +11,7 @@ import lombok.NoArgsConstructor;
|
|||
@Data
|
||||
@NoArgsConstructor
|
||||
public class TestPlanDTO {
|
||||
private String id;
|
||||
|
||||
@Schema(description = "message.domain.test_plan_num")
|
||||
private Long num;
|
||||
|
|
Loading…
Reference in New Issue