[PR #6977] [MERGED] PM-38130: Feat: Parse new organizations and policies properties from sync response #114065

Closed
opened 2026-06-06 13:49:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6977
Author: @david-livefront
Created: 5/26/2026
Status: Merged
Merged: 5/27/2026
Merged by: @david-livefront

Base: mainHead: PM-38130-new-sync-properties


📝 Commits (1)

  • 871ca81 PM-38130: Parse new organizations and policies properties from sync response

📊 Changes

5 files changed (+84 additions, -6 deletions)

View changed files

📝 app/src/test/kotlin/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt (+3 -1)
📝 network/src/main/kotlin/com/bitwarden/network/model/SyncResponseJson.kt (+19 -2)
📝 network/src/test/kotlin/com/bitwarden/network/service/SyncServiceTest.kt (+57 -0)
📝 network/src/testFixtures/kotlin/com/bitwarden/network/model/SyncResponseProfileUtil.kt (+2 -1)
📝 network/src/testFixtures/kotlin/com/bitwarden/network/model/SyncResponseUtil.kt (+3 -2)

📄 Description

🎟️ Tracking

PM-38130

📔 Objective

This PR updates the SyncResponseJson to parse and prefer the organizationsNew and policiesNew properties when available.


🔄 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/bitwarden/android/pull/6977 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 5/26/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@david-livefront](https://github.com/david-livefront) **Base:** `main` ← **Head:** `PM-38130-new-sync-properties` --- ### 📝 Commits (1) - [`871ca81`](https://github.com/bitwarden/android/commit/871ca813f95bb2d8dc742b5a54574ff1173d6b5c) PM-38130: Parse new organizations and policies properties from sync response ### 📊 Changes **5 files changed** (+84 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `app/src/test/kotlin/com/x8bit/bitwarden/data/vault/datasource/disk/VaultDiskSourceTest.kt` (+3 -1) 📝 `network/src/main/kotlin/com/bitwarden/network/model/SyncResponseJson.kt` (+19 -2) 📝 `network/src/test/kotlin/com/bitwarden/network/service/SyncServiceTest.kt` (+57 -0) 📝 `network/src/testFixtures/kotlin/com/bitwarden/network/model/SyncResponseProfileUtil.kt` (+2 -1) 📝 `network/src/testFixtures/kotlin/com/bitwarden/network/model/SyncResponseUtil.kt` (+3 -2) </details> ### 📄 Description ## 🎟️ Tracking [PM-38130](https://bitwarden.atlassian.net/browse/PM-38130) ## 📔 Objective This PR updates the `SyncResponseJson` to parse and prefer the `organizationsNew` and `policiesNew` properties when available. [PM-38130]: https://bitwarden.atlassian.net/browse/PM-38130?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- <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-06 13:49:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#114065