[PR #2899] [MERGED] Support Org Export for v2022.11 clients #6820

Closed
opened 2026-03-07 21:06:00 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2899
Author: @BlackDex
Created: 11/7/2022
Status: Merged
Merged: 11/9/2022
Merged by: @dani-garcia

Base: mainHead: org-export-fixes


📝 Commits (1)

  • c9ec389 Support Org Export for v2022.11 clients

📊 Changes

4 files changed (+61 additions, -21 deletions)

View changed files

📝 Cargo.lock (+7 -0)
📝 Cargo.toml (+3 -0)
📝 src/api/core/organizations.rs (+48 -21)
📝 src/auth.rs (+3 -0)

📄 Description

Since v2022.9.x the org export uses a different endpoint. But, since v2022.11.x this endpoint will return a different format. See: https://github.com/bitwarden/clients/pull/3641 and https://github.com/bitwarden/server/pull/2316

To support both version in the case of users having an older client either web-vault or cli this PR checks the version and responds using the correct format. If no version can be determined it will use the new format as a default.


🔄 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/2899 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 11/7/2022 **Status:** ✅ Merged **Merged:** 11/9/2022 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `org-export-fixes` --- ### 📝 Commits (1) - [`c9ec389`](https://github.com/dani-garcia/vaultwarden/commit/c9ec389b244c98d5cc57852f29130923fe9d6ce6) Support Org Export for v2022.11 clients ### 📊 Changes **4 files changed** (+61 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+7 -0) 📝 `Cargo.toml` (+3 -0) 📝 `src/api/core/organizations.rs` (+48 -21) 📝 `src/auth.rs` (+3 -0) </details> ### 📄 Description Since v2022.9.x the org export uses a different endpoint. But, since v2022.11.x this endpoint will return a different format. See: https://github.com/bitwarden/clients/pull/3641 and https://github.com/bitwarden/server/pull/2316 To support both version in the case of users having an older client either web-vault or cli this PR checks the version and responds using the correct format. If no version can be determined it will use the new format as a default. --- <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-03-07 21:06:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#6820