Skip to content

Commit

Permalink
fix(UI测试): 修复ui场景权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomeinvG committed Jun 20, 2023
1 parent 87adb90 commit 46dbc16
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public class PermissionConstants {
public static final String PROJECT_UI_SCENARIO_READ_IMPORT_SCENARIO = "PROJECT_UI_SCENARIO:READ+IMPORT_SCENARIO";
public static final String PROJECT_UI_SCENARIO_READ_EXPORT_SCENARIO = "PROJECT_UI_SCENARIO:READ+EXPORT_SCENARIO";
public static final String PROJECT_UI_SCENARIO_READ_MOVE_BATCH = "PROJECT_UI_SCENARIO:READ+MOVE_BATCH";
public static final String PROJECT_UI_SCENARIO_READ_COPY_BATCH = "PROJECT_UI_SCENARIO:READ+COPY_BATCH";
public static final String PROJECT_UI_SCENARIO_READ_CREATE_PERFORMANCE = "PROJECT_UI_SCENARIO:READ+CREATE_PERFORMANCE";

public static final String PROJECT_UI_ELEMENT_READ = "PROJECT_UI_ELEMENT:READ";
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/en-US.js
Original file line number Diff line number Diff line change
Expand Up @@ -3643,6 +3643,9 @@ export default {
use_origin_env_run: "Use original scene environment to execute",
open_new: "Open new page",
open_new_tip: "open in new page",
no_scenario_edit_permission: "The current user does not have permission to modify",
no_scenario_create_permission: "The current user does not have permission to create",
no_scenario_copy_permission: "The current user has no copy permission",
},
system: {
test_resource_pool: {
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -3652,6 +3652,9 @@ export default {
pls_select_env: "请为当前场景选择一个运行环境!",
open_new: "追加页面",
open_new_tip: "追加页面,在新的页面打开url,不勾选覆盖当前url",
no_scenario_edit_permission: "当前用户无修改权限",
no_scenario_create_permission: "当前用户无创建权限",
no_scenario_copy_permission: "当前用户无复制权限",
},
system: {
test_resource_pool: {
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/i18n/zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -3647,6 +3647,9 @@ export default {
use_origin_env_run: "使用原場景環境執行",
open_new: "追加頁面",
open_new_tip: "追加頁面,在新的頁面打開url,不勾選覆蓋當前url",
no_scenario_edit_permission: "當前用戶無修改權限",
no_scenario_create_permission: "當前用戶無創建權限",
no_scenario_copy_permission: "當前用戶無復制權限",
},
system: {
test_resource_pool: {
Expand Down

0 comments on commit 46dbc16

Please sign in to comment.