mirror of
https://github.com/bitwarden/android.git
synced 2026-04-27 03:18:30 -05:00
PM-21641: Allow delete and restore logic to be remotely configured (#5194)
This commit is contained in:
@@ -201,7 +201,7 @@ sealed class FlagKey<out T : Any> {
|
||||
data object RestrictCipherItemDeletion : FlagKey<Boolean>() {
|
||||
override val keyName: String = "pm-15493-restrict-item-deletion-to-can-manage-permission"
|
||||
override val defaultValue: Boolean = false
|
||||
override val isRemotelyConfigured: Boolean = false
|
||||
override val isRemotelyConfigured: Boolean = true
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -125,6 +125,7 @@ class FlagKeyTest {
|
||||
FlagKey.SimpleLoginSelfHostAlias,
|
||||
FlagKey.ChromeAutofill,
|
||||
FlagKey.MobileErrorReporting,
|
||||
FlagKey.RestrictCipherItemDeletion,
|
||||
).all {
|
||||
it.isRemotelyConfigured
|
||||
},
|
||||
@@ -134,7 +135,6 @@ class FlagKeyTest {
|
||||
listOf(
|
||||
FlagKey.FlightRecorder,
|
||||
FlagKey.PreAuthSettings,
|
||||
FlagKey.RestrictCipherItemDeletion,
|
||||
).all {
|
||||
!it.isRemotelyConfigured
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user