chore: features fix to enable u2f for INTERNAL_TEAM_USER role

This commit is contained in:
Karol Sójko
2023-03-10 20:19:43 +01:00
parent 2524d2615c
commit bd4bc0614e

View File

@@ -11,6 +11,13 @@ export function serverFeatures(): ServerFeatureDescription[] {
identifier: FeatureIdentifier.TwoFactorAuth,
permission_name: PermissionName.TwoFactorAuth,
},
{
availableInSubscriptions: [],
availableInRoles: ['INTERNAL_TEAM_USER'],
name: 'U2F authentication',
identifier: FeatureIdentifier.UniversalSecondFactor,
permission_name: PermissionName.UniversalSecondFactor,
},
{
availableInSubscriptions: [SubscriptionName.ProPlan],
name: 'Unlimited note history',