[PR #2765] [MERGED] Fix organization vault export #3143

Closed
opened 2026-03-03 09:26:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2765
Author: @BlackDex
Created: 9/24/2022
Status: Merged
Merged: 9/25/2022
Merged by: @dani-garcia

Base: mainHead: fix-org-export


📝 Commits (1)

  • ae59472 Fix organization vault export

📊 Changes

2 files changed (+90 additions, -10 deletions)

View changed files

📝 src/api/core/organizations.rs (+37 -10)
📝 src/util.rs (+53 -0)

📄 Description

Since v2022.9.x it seems they changed the export endpoint and way of working. This PR fixes this by adding the export endpoint.

Also, it looks like the clients can't handle uppercase first JSON key's. Because of this there now is a function which converts all the key's to lowercase first.

I have an issue reported at Bitwarden if this is expected behavior: https://github.com/bitwarden/clients/issues/3606

Fixes #2760
Fixes #2764


🔄 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/2765 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 9/24/2022 **Status:** ✅ Merged **Merged:** 9/25/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-org-export` --- ### 📝 Commits (1) - [`ae59472`](https://github.com/dani-garcia/vaultwarden/commit/ae59472d9a7ba78587f1fa6aa2ab76688e73649e) Fix organization vault export ### 📊 Changes **2 files changed** (+90 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/organizations.rs` (+37 -10) 📝 `src/util.rs` (+53 -0) </details> ### 📄 Description Since v2022.9.x it seems they changed the export endpoint and way of working. This PR fixes this by adding the export endpoint. Also, it looks like the clients can't handle uppercase first JSON key's. Because of this there now is a function which converts all the key's to lowercase first. I have an issue reported at Bitwarden if this is expected behavior: https://github.com/bitwarden/clients/issues/3606 Fixes #2760 Fixes #2764 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:26:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3143
No description provided.