feat: org CRUD (#3380)

* feat: add org schema

* feat: org manage UI

* feat: OrgInfoModal

* feat: org tree view

* feat: org management

* fix: init root org

* feat: org permission for app

* feat: org support for dataset

* fix: disable org role control

* styles: opt type signatures

* fix: remove unused permission

* feat: delete org collaborator
This commit is contained in:
a.e.
2024-12-30 13:49:56 +08:00
committed by archer
parent bb669ca3ff
commit 1fc77a126a
46 changed files with 1934 additions and 191 deletions

View File

@@ -2,11 +2,23 @@
"action": "操作",
"confirm_delete_group": "確認刪除群組?",
"confirm_leave_team": "確認離開該團隊? \n \n退出後您在該團隊所有的資源 應用程式、知識庫、資料夾、管理的群組等)均轉讓給團隊所有者。",
"confirm_delete_org": "確認刪除組織?",
"confirm_delete_member": "確認刪除成員?",
"create_group": "建立群組",
"delete": "刪除",
"edit_info": "編輯訊息",
"group": "群組",
"group_name": "群組名稱",
"org": "組織",
"org_name": "組織名稱",
"org_description": "介紹",
"create_org": "建立組織",
"create_sub_org": "建立子組織",
"edit_org_info": "編輯組織訊息",
"move_org": "移動組織",
"move_member": "移動成員",
"delete_org": "刪除組織",
"remark": "備註",
"label_sync": "標籤同步",
"leave_team_failed": "離開團隊異常",
"manage_member": "管理成員",

View File

@@ -85,6 +85,13 @@
"code_error.team_error.un_auth": "無權操作此團隊",
"code_error.team_error.user_not_active": "使用者未接受或已離開團隊",
"code_error.team_error.website_sync_not_enough": "無權使用網站同步",
"code_error.team_error.org_member_not_exist": "組織成員不存在",
"code_error.team_error.org_member_duplicated": "重複的組織成員",
"code_error.team_error.org_not_exist": "組織不存在",
"code_error.team_error.org_parent_not_exist": "父組織不存在",
"code_error.team_error.cannot_move_to_sub_path": "無法移動到相同或子目錄",
"code_error.team_error.cannot_modify_root_org": "無法修改根組織",
"code_error.team_error.cannot_delete_non_empty_org": "無法刪除非空組織",
"code_error.token_error_code.403": "登入狀態無效,請重新登入",
"code_error.user_error.balance_not_enough": "帳戶餘額不足",
"code_error.user_error.bin_visitor": "身份驗證未通過",