diff --git a/backend/src/main/resources/db/migration/V98__v1.14.1_release.sql b/backend/src/main/resources/db/migration/V98__v1.14.1_release.sql index d2a122cf2f..eef209f193 100644 --- a/backend/src/main/resources/db/migration/V98__v1.14.1_release.sql +++ b/backend/src/main/resources/db/migration/V98__v1.14.1_release.sql @@ -1 +1,6 @@ -ALTER TABLE mock_expect_config ADD COLUMN expect_num varchar(50); \ No newline at end of file +ALTER TABLE mock_expect_config ADD COLUMN expect_num varchar(50); + +insert into user_group_permission (id, group_id, permission_id, module_id) +values (UUID(), 'ws_admin', 'WORKSPACE_PROJECT_MANAGER:READ+UPLOAD_JAR', 'WORKSPACE_PROJECT_MANAGER'); +insert into user_group_permission (id, group_id, permission_id, module_id) +values (UUID(), 'ws_member', 'WORKSPACE_PROJECT_MANAGER:READ+UPLOAD_JAR', 'WORKSPACE_PROJECT_MANAGER'); \ No newline at end of file diff --git a/backend/src/main/resources/permission.json b/backend/src/main/resources/permission.json index 4679a87ed2..007d28b0bf 100644 --- a/backend/src/main/resources/permission.json +++ b/backend/src/main/resources/permission.json @@ -195,6 +195,11 @@ "name": "删除项目", "resourceId": "WORKSPACE_PROJECT_MANAGER" }, + { + "id": "WORKSPACE_PROJECT_MANAGER:READ+UPLOAD_JAR", + "name": "上传jar包", + "resourceId": "WORKSPACE_PROJECT_MANAGER" + }, { "id": "WORKSPACE_PROJECT_ENVIRONMENT:READ", "name": "查询环境", diff --git a/frontend/src/business/components/settings/workspace/MsProject.vue b/frontend/src/business/components/settings/workspace/MsProject.vue index e1c8b5d518..1b26003aa4 100644 --- a/frontend/src/business/components/settings/workspace/MsProject.vue +++ b/frontend/src/business/components/settings/workspace/MsProject.vue @@ -6,7 +6,7 @@ @search="search" @create="create" :create-tip="btnTips" :title="$t('commons.project')">