From bd4bc0614e2f453014d40b8045623868fabd9480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 10 Mar 2023 20:19:43 +0100 Subject: [PATCH] chore: features fix to enable u2f for INTERNAL_TEAM_USER role --- packages/features/src/Domain/Lists/ServerFeatures.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/features/src/Domain/Lists/ServerFeatures.ts b/packages/features/src/Domain/Lists/ServerFeatures.ts index 9448215c2..57e2d7976 100644 --- a/packages/features/src/Domain/Lists/ServerFeatures.ts +++ b/packages/features/src/Domain/Lists/ServerFeatures.ts @@ -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',