Skip to content

Commit 99e4e06

Browse files
committed
Remove commented code explaining policy check
1 parent 43a2ba0 commit 99e4e06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Core/Vault/Services/Implementations/CipherService.cs

-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ public async Task SaveDetailsAsync(CipherDetails cipher, Guid savingUserId, Date
146146
}
147147
else
148148
{
149-
// Make sure the user can save new ciphers to their personal vault
150149
var isPersonalVaultRestricted = _featureService.IsEnabled(FeatureFlagKeys.PolicyRequirements)
151150
? (await _policyRequirementQuery.GetAsync<PersonalOwnershipPolicyRequirement>(savingUserId)).DisablePersonalOwnership
152151
: await _policyService.AnyPoliciesApplicableToUserAsync(savingUserId, PolicyType.PersonalOwnership);

0 commit comments

Comments
 (0)