1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-03 00:53:27 +00:00

Implemented Custom role and permissions (#1189)

* Implemented Custom role and permissions

* changed permissions to permissions model

* added a semicolon
This commit is contained in:
Addison Beck
2021-01-13 14:31:27 -05:00
committed by GitHub
parent ca7794e6f2
commit cdc08e7e8a
7 changed files with 35 additions and 2 deletions

View File

@@ -298,7 +298,7 @@ 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.IsAdmin && AllowPersonal)
if (policies != null && org.UsePolicies && !org.canManagePolicies && AllowPersonal)
{
foreach (var policy in policies)
{