Merge pull request #2549 from scott-ray-wilson/org-default-role

Feat: Default Org Membership Role
This commit is contained in:
Scott Wilson
2024-10-09 11:55:47 -07:00
committed by GitHub
18 changed files with 383 additions and 56 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ export const OrganizationsSchema = z.object({
authEnforced: z.boolean().default(false).nullable().optional(),
scimEnabled: z.boolean().default(false).nullable().optional(),
kmsDefaultKeyId: z.string().uuid().nullable().optional(),
kmsEncryptedDataKey: zodBuffer.nullable().optional()
kmsEncryptedDataKey: zodBuffer.nullable().optional(),
defaultMembershipRole: z.string().default("member")
});
export type TOrganizations = z.infer<typeof OrganizationsSchema>;