mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
fix for users unable to edit existing personal vault items when org policy set (#1298)
This commit is contained in:
parent
9b621bd1d0
commit
53c82f23bf
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue