[PR #1950] [MERGED] [SG-79] [SG-376] Fixed vault filter display issue when personal ownership policy enabled #3246

Closed
opened 2025-11-26 23:30:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1950
Author: @mpbw2
Created: 6/10/2022
Status: Merged
Merged: 6/13/2022
Merged by: @mpbw2

Base: masterHead: bugfix-filterpersonalownership


📝 Commits (1)

  • 2b37bf6 Fixed vault filter display issue with personal ownership policy

📊 Changes

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

View changed files

📝 src/Core/Services/PolicyService.cs (+1 -2)

📄 Description

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

Fixes issue where the vault filter wouldn't appear if any org a user is a member of has the Personal Ownership policy enabled

Code changes

  • PolicyService.cs: Removed personal ownership policy check from ShouldShowVaultFilterAsync method (originally added due to a misinterpretation of the original task on my part)

Before you submit

  • I have checked for formatting errors (dotnet tool run dotnet-format --check) (required)
  • I have added unit tests where it makes sense to do so (encouraged but not required)
  • This change requires a documentation update (notify the documentation team)
  • This change has particular deployment requirements (notify the DevOps team)

🔄 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/1950 **Author:** [@mpbw2](https://github.com/mpbw2) **Created:** 6/10/2022 **Status:** ✅ Merged **Merged:** 6/13/2022 **Merged by:** [@mpbw2](https://github.com/mpbw2) **Base:** `master` ← **Head:** `bugfix-filterpersonalownership` --- ### 📝 Commits (1) - [`2b37bf6`](https://github.com/bitwarden/android/commit/2b37bf641703e74903de1d8bbcd9244a2941c24e) Fixed vault filter display issue with personal ownership policy ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/Core/Services/PolicyService.cs` (+1 -2) </details> ### 📄 Description ## Type of change - [X] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [ ] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> Fixes issue where the vault filter wouldn't appear if any org a user is a member of has the Personal Ownership policy enabled ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **PolicyService.cs:** Removed personal ownership policy check from `ShouldShowVaultFilterAsync` method (originally added due to a misinterpretation of the original task on my part) ## Before you submit - [X] I have checked for formatting errors (`dotnet tool run dotnet-format --check`) (required) - [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required) - [ ] This change requires a **documentation update** (notify the documentation team) - [ ] This change has particular **deployment requirements** (notify the DevOps team) --- <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 2025-11-26 23:30:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3246