[PR #1742] [MERGED] [FEAT] Remove users_can_delete_workspaces feature #3761

Closed
opened 2026-02-22 18:34:26 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1742
Author: @shatfield4
Created: 6/21/2024
Status: Merged
Merged: 6/25/2024
Merged by: @timothycarambat

Base: masterHead: 1536-bug-toggling-on-users-can-delete-workspaces-does-not-take-effect-1


📝 Commits (1)

  • cd82b4d remove all references to users_can_delete_workspaces option

📊 Changes

14 files changed (+30 additions, -112 deletions)

View changed files

📝 frontend/src/locales/en/common.js (+3 -0)
📝 frontend/src/locales/es/common.js (+3 -0)
📝 frontend/src/locales/fr/common.js (+3 -0)
📝 frontend/src/locales/ru/common.js (+3 -0)
📝 frontend/src/locales/zh/common.js (+2 -0)
📝 frontend/src/models/system.js (+0 -16)
📝 frontend/src/pages/Admin/System/index.jsx (+0 -26)
📝 frontend/src/pages/WorkspaceSettings/GeneralAppearance/DeleteWorkspace/index.jsx (+16 -20)
📝 server/endpoints/admin.js (+0 -3)
📝 server/endpoints/api/admin/index.js (+0 -5)
📝 server/endpoints/system.js (+0 -28)
📝 server/models/systemSettings.js (+0 -11)
📝 server/prisma/seed.js (+0 -1)
📝 server/swagger/openapi.json (+0 -2)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1536

What is in this change?

  • Remove users_can_delete_workspaces flag/feature
  • Clean up styles/adding translations for delete workspace button

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1742 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/21/2024 **Status:** ✅ Merged **Merged:** 6/25/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1536-bug-toggling-on-users-can-delete-workspaces-does-not-take-effect-1` --- ### 📝 Commits (1) - [`cd82b4d`](https://github.com/Mintplex-Labs/anything-llm/commit/cd82b4d55973b0c1891eafffed1495ba57be2e09) remove all references to users_can_delete_workspaces option ### 📊 Changes **14 files changed** (+30 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/locales/en/common.js` (+3 -0) 📝 `frontend/src/locales/es/common.js` (+3 -0) 📝 `frontend/src/locales/fr/common.js` (+3 -0) 📝 `frontend/src/locales/ru/common.js` (+3 -0) 📝 `frontend/src/locales/zh/common.js` (+2 -0) 📝 `frontend/src/models/system.js` (+0 -16) 📝 `frontend/src/pages/Admin/System/index.jsx` (+0 -26) 📝 `frontend/src/pages/WorkspaceSettings/GeneralAppearance/DeleteWorkspace/index.jsx` (+16 -20) 📝 `server/endpoints/admin.js` (+0 -3) 📝 `server/endpoints/api/admin/index.js` (+0 -5) 📝 `server/endpoints/system.js` (+0 -28) 📝 `server/models/systemSettings.js` (+0 -11) 📝 `server/prisma/seed.js` (+0 -1) 📝 `server/swagger/openapi.json` (+0 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1536 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Remove `users_can_delete_workspaces` flag/feature - Clean up styles/adding translations for delete workspace button ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:26 -05:00
yindo closed this issue 2026-02-22 18:34:26 -05:00
yindo changed title from [PR #1742] [FEAT] Remove users_can_delete_workspaces feature to [PR #1742] [MERGED] [FEAT] Remove users_can_delete_workspaces feature 2026-06-05 15:15:06 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3761