Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: hard delete environment (#15757)

p0nyfc91cbb5d3e8
diff --git a/frontend/src/components/EnvironmentForm/Form.vue b/frontend/src/components/EnvironmentForm/Form.vue
index 9836bb5064..4b01194ad7 100644
--- a/frontend/src/components/EnvironmentForm/Form.vue
+++ b/frontend/src/components/EnvironmentForm/Form.vue
@@ -231,8 +231,9 @@ const allowArchive = computed(() => {
);
});
+// TODO(p0ny): hard-delete environment.
const allowRestore = computed(() => {
- return hasPermission("bb.environments.undelete");
+ return false;
});
const renderColorPicker = () => {
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index bca865e03e..dec44961a4 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1249,7 +1249,7 @@
},
"environment": {
"select": "Select environment",
- "archive": "Archive this environment",
+ "archive": "Delete this environment",
"archive-info": "Archived environments will not be displayed.",
"create": "Create Environment",
"restore": "Restore this environment",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 2d663d2acc..96fa18896d 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1249,7 +1249,7 @@
},
"environment": {
"select": "Seleccionar entorno",
- "archive": "Archivar este entorno",
+ "archive": "Eliminar este entorno",
"archive-info": "Los entornos archivados no se mostrarán.",
"create": "Crear entorno",
"restore": "Restaurar este entorno",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 40898f19f3..b5261b29f0 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1249,7 +1249,7 @@
},
"environment": {
"select": "環境を選ぶ",
- "archive": "この環境をアーカイブする",
+ "archive": "この環境を削除します",
"archive-info": "アーカイブされた環境は表示されなくなります。",
"create": "環境を作成する",
"restore": "この環境を復元する",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index 7f59063c1c..ad50f11544 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -1249,7 +1249,7 @@
},
"environment": {
"select": "Chọn môi trường",
- "archive": "Lưu trữ môi trường này",
+ "archive": "Xóa môi trường này",
"archive-info": "Các môi trường đã lưu trữ sẽ không được hiển thị.",
"create": "Tạo môi trường",
"restore": "Khôi phục môi trường này",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 6c6ee2abdd..79e35d76af 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1249,7 +1249,7 @@
},
"environment": {
"select": "选择环境",
- "archive": "归档此环境",
+ "archive": "删除此环境",
"archive-info": "已归档环境将不再显示。",
"create": "创建环境",
"restore": "恢复此环境",