mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-12 19:40:43 +01: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
@ -298,7 +298,8 @@ namespace Bit.App.Pages
|
|||||||
if (org.Enabled && org.Status == OrganizationUserStatusType.Confirmed)
|
if (org.Enabled && org.Status == OrganizationUserStatusType.Confirmed)
|
||||||
{
|
{
|
||||||
OwnershipOptions.Add(new KeyValuePair<string, string>(org.Name, org.Id));
|
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)
|
foreach (var policy in policies)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user