From 9efd548b3c9bc2dbb9f27978cf3ed4d61b609113 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 8 Nov 2024 11:29:54 +0100 Subject: [PATCH] Add QA flag --- src/Api/Vault/Controllers/SyncController.cs | 2 +- src/Core/Constants.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Api/Vault/Controllers/SyncController.cs b/src/Api/Vault/Controllers/SyncController.cs index 5ffaa0e34ca5..c08a5f86e0db 100644 --- a/src/Api/Vault/Controllers/SyncController.cs +++ b/src/Api/Vault/Controllers/SyncController.cs @@ -112,7 +112,7 @@ await _providerUserRepository.GetManyOrganizationDetailsByUserAsync(user.Id, private ICollection FilterSSHKeys(ICollection ciphers) { - if (_currentContext.ClientVersion >= _sshKeyCipherMinimumVersion) + if (_currentContext.ClientVersion >= _sshKeyCipherMinimumVersion || _featureService.IsEnabled(FeatureFlagKeys.SSHVersionCheckQAOverride)) { return ciphers; } diff --git a/src/Core/Constants.cs b/src/Core/Constants.cs index 8e759e143326..36e6a732ba97 100644 --- a/src/Core/Constants.cs +++ b/src/Core/Constants.cs @@ -125,6 +125,7 @@ public static class FeatureFlagKeys public const string DeviceTrustLogging = "pm-8285-device-trust-logging"; public const string SSHKeyItemVaultItem = "ssh-key-vault-item"; public const string SSHAgent = "ssh-agent"; + public const string SSHVersionCheckQAOverride = "ssh-version-check-qa-override"; public const string AuthenticatorTwoFactorToken = "authenticator-2fa-token"; public const string EnableUpgradePasswordManagerSub = "AC-2708-upgrade-password-manager-sub"; public const string IdpAutoSubmitLogin = "idp-auto-submit-login";