From 53c82f23bff952f5b8c7f55d4eaa24287dfae017 Mon Sep 17 00:00:00 2001 From: Matt Portune <59324545+mportune-bw@users.noreply.github.com> Date: Thu, 4 Mar 2021 16:57:40 -0500 Subject: [PATCH] fix for users unable to edit existing personal vault items when org policy set (#1298) --- src/App/Pages/Vault/AddEditPageViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App/Pages/Vault/AddEditPageViewModel.cs b/src/App/Pages/Vault/AddEditPageViewModel.cs index e56e98bfc..9d592a318 100644 --- a/src/App/Pages/Vault/AddEditPageViewModel.cs +++ b/src/App/Pages/Vault/AddEditPageViewModel.cs @@ -298,7 +298,8 @@ namespace Bit.App.Pages if (org.Enabled && org.Status == OrganizationUserStatusType.Confirmed) { OwnershipOptions.Add(new KeyValuePair(org.Name, org.Id)); - if (policies != null && org.UsePolicies && !org.canManagePolicies && AllowPersonal) + if ((!EditMode || CloneMode) && policies != null && org.UsePolicies && !org.canManagePolicies && + AllowPersonal) { foreach (var policy in policies) {