From 6310a40f461b13f893f203ec85c03e3e51291f95 Mon Sep 17 00:00:00 2001 From: Ole Martin Pettersen Date: Thu, 21 Mar 2024 13:20:11 +0100 Subject: [PATCH] =?UTF-8?q?other:=20updated=20subscriptionsecuritysettings?= =?UTF-8?q?=20=F0=9F=94=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../types/SubscriptionSecuritySettings.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/server/graphql/resolvers/subscription/types/SubscriptionSecuritySettings.ts b/server/graphql/resolvers/subscription/types/SubscriptionSecuritySettings.ts index 4f889887a..cdbea42ba 100644 --- a/server/graphql/resolvers/subscription/types/SubscriptionSecuritySettings.ts +++ b/server/graphql/resolvers/subscription/types/SubscriptionSecuritySettings.ts @@ -10,7 +10,13 @@ import { Field, InputType, ObjectType } from 'type-graphql' }) export class SubscriptionSecuritySettings { /** - * Total number of vacation days per year + * Enable security group membership check + */ + @Field({ nullable: true }) + securityGroupEnabled?: boolean + + /** + * Security group ID (Microsoft Entra ID) */ @Field({ nullable: true, @@ -27,7 +33,12 @@ export class SubscriptionSecuritySettings { }) export class SubscriptionSecuritySettingsInput { /** - * Total number of vacation days per year + * Enable security group membership check + */ + @Field({ nullable: true }) + securityGroupEnabled?: boolean + /** + * Security group ID (Microsoft Entra ID) */ @Field({ nullable: true,