[PR #25] [MERGED] Implement deleting Organization #31604

Closed
opened 2026-06-20 18:35:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/25
Author: @mprasil
Created: 5/19/2018
Status: Merged
Merged: 5/19/2018
Merged by: @dani-garcia

Base: masterHead: org_delete


📝 Commits (1)

  • 941747f Implement deleting Organization

📊 Changes

4 files changed (+71 additions, -22 deletions)

View changed files

📝 src/api/core/organizations.rs (+23 -9)
📝 src/db/models/cipher.rs (+7 -0)
📝 src/db/models/collection.rs (+13 -0)
📝 src/db/models/organization.rs (+28 -13)

📄 Description

This implements API needed to delete Organization. As part of these changes I moved deleting CollectionUser directly into UserOrganization::delete() where it's used wen user is removed but also when organization is deleted.


🔄 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/dani-garcia/vaultwarden/pull/25 **Author:** [@mprasil](https://github.com/mprasil) **Created:** 5/19/2018 **Status:** ✅ Merged **Merged:** 5/19/2018 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `org_delete` --- ### 📝 Commits (1) - [`941747f`](https://github.com/dani-garcia/vaultwarden/commit/941747f9e84eaf336e04b6d4bd1355300402e93e) Implement deleting Organization ### 📊 Changes **4 files changed** (+71 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/organizations.rs` (+23 -9) 📝 `src/db/models/cipher.rs` (+7 -0) 📝 `src/db/models/collection.rs` (+13 -0) 📝 `src/db/models/organization.rs` (+28 -13) </details> ### 📄 Description This implements API needed to delete Organization. As part of these changes I moved deleting CollectionUser directly into UserOrganization::delete() where it's used wen user is removed but also when organization is deleted. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-20 18:35:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#31604