chore: change u2f from feature trunk to role based permission restricted (#2250)

This commit is contained in:
Karol Sójko
2023-03-08 13:15:16 +01:00
committed by GitHub
parent 896834f65a
commit 5bd7e785c8
2 changed files with 6 additions and 6 deletions

View File

@@ -3,13 +3,11 @@ import { isDev } from '@/Utils'
export enum FeatureTrunkName {
Super,
ImportTools,
U2F,
}
const FeatureTrunkStatus: Record<FeatureTrunkName, boolean> = {
[FeatureTrunkName.Super]: isDev && true,
[FeatureTrunkName.ImportTools]: isDev && true,
[FeatureTrunkName.U2F]: isDev && true,
}
export function featureTrunkEnabled(trunk: FeatureTrunkName): boolean {