1
0
mirror of https://github.com/bitwarden/server synced 2026-01-29 07:43:22 +00:00

Renamed for clarity (#6902)

This commit is contained in:
Jared McCannon
2026-01-27 09:03:06 -06:00
committed by GitHub
parent 67f8cbf5b3
commit 898904a673

View File

@@ -19,7 +19,7 @@ namespace Bit.Core.AdminConsole.OrganizationFeatures.Policies.PolicyRequirements
/// <param name="policyDetails">Collection of policy details that apply to this user id</param>
public class AutomaticUserConfirmationPolicyRequirement(IEnumerable<PolicyDetails> policyDetails) : IPolicyRequirement
{
public bool CannotBeGrantedEmergencyAccess() => policyDetails.Any();
public bool CannotHaveEmergencyAccess() => policyDetails.Any();
public bool CannotJoinProvider() => policyDetails.Any();