[PR #3513] [MERGED] policy data should be null not an empty object #6936

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

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/3513
Author: @stefan0xC
Created: 5/9/2023
Status: Merged
Merged: 5/9/2023
Merged by: @BlackDex

Base: mainHead: fix-empty-policy


📝 Commits (1)

  • 4d5c047 policy data should be null not an empty object

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/api/core/organizations.rs (+1 -1)

📄 Description

The web-vault will throw an error in the web console when editing new policies with an empty data field (like "Require two-step login", "Single organization", "Remove individual vault" and "Remove Send")
error-messages-in-incognito-mode


🔄 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/3513 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 5/9/2023 **Status:** ✅ Merged **Merged:** 5/9/2023 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `fix-empty-policy` --- ### 📝 Commits (1) - [`4d5c047`](https://github.com/dani-garcia/vaultwarden/commit/4d5c047ddcb4803d84765fb2fd93f9660ec6b4ef) policy data should be `null` not an empty object ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/organizations.rs` (+1 -1) </details> ### 📄 Description The web-vault will throw an error in the web console when editing new policies with an empty data field (like "Require two-step login", "Single organization", "Remove individual vault" and "Remove Send") ![error-messages-in-incognito-mode](https://user-images.githubusercontent.com/509385/237051925-e0e92ff5-efcb-4ab4-9ad1-21484379971c.png) --- <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:08:18 -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#6936