PM-26027: Remove the UserManagedPrivilegedApps feature flag (#5914)

This commit is contained in:
David Perez
2025-09-19 15:09:54 -05:00
committed by GitHub
parent e57af949fc
commit 98530ed33d
15 changed files with 20 additions and 200 deletions

View File

@@ -32,7 +32,6 @@ sealed class FlagKey<out T : Any> {
listOf(
CredentialExchangeProtocolImport,
CredentialExchangeProtocolExport,
UserManagedPrivilegedApps,
)
}
}
@@ -63,14 +62,6 @@ sealed class FlagKey<out T : Any> {
override val defaultValue: Boolean = false
}
/**
* Data object holding the feature flag key to enabled user-managed privileged apps.
*/
data object UserManagedPrivilegedApps : FlagKey<Boolean>() {
override val keyName: String = "pm-18970-user-managed-privileged-apps"
override val defaultValue: Boolean = false
}
/**
* Indicates the state of Bitwarden authentication.
*/

View File

@@ -20,10 +20,6 @@ class FlagKeyTest {
FlagKey.CipherKeyEncryption.keyName,
"cipher-key-encryption",
)
assertEquals(
FlagKey.UserManagedPrivilegedApps.keyName,
"pm-18970-user-managed-privileged-apps",
)
assertEquals(
FlagKey.BitwardenAuthenticationEnabled.keyName,
"bitwarden-authentication-enabled",
@@ -37,7 +33,6 @@ class FlagKeyTest {
FlagKey.CredentialExchangeProtocolImport,
FlagKey.CredentialExchangeProtocolExport,
FlagKey.CipherKeyEncryption,
FlagKey.UserManagedPrivilegedApps,
FlagKey.BitwardenAuthenticationEnabled,
).all {
!it.defaultValue