mirror of
https://github.com/bitwarden/mobile
synced 2025-12-19 01:33:22 +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:
@@ -102,7 +102,7 @@ namespace Bit.Droid.Autofill
|
||||
if (policy.Enabled)
|
||||
{
|
||||
var org = await _userService.GetOrganizationAsync(policy.OrganizationId);
|
||||
if (org != null && org.Enabled && org.UsePolicies && !org.IsAdmin
|
||||
if (org != null && org.Enabled && org.UsePolicies && !org.canManagePolicies
|
||||
&& org.Status == OrganizationUserStatusType.Confirmed)
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user