1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-19 00:43:18 +00:00

fix for users unable to edit existing personal vault items when org policy set (#1298)

This commit is contained in:
Matt Portune
2021-03-04 16:57:40 -05:00
committed by GitHub
parent 9b621bd1d0
commit 53c82f23bf

View File

@@ -298,7 +298,8 @@ namespace Bit.App.Pages
if (org.Enabled && org.Status == OrganizationUserStatusType.Confirmed)
{
OwnershipOptions.Add(new KeyValuePair<string, string>(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)
{