From dd05467757727439f4be9ca41c2dfedc51130354 Mon Sep 17 00:00:00 2001 From: lostlevels Date: Wed, 13 Dec 2023 08:55:56 -0800 Subject: [PATCH] [BACK-2785] Add care team member role to help for fake child account migration. --- user/user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/user.go b/user/user.go index 421bb8f3..1aad5cf2 100644 --- a/user/user.go +++ b/user/user.go @@ -16,6 +16,7 @@ import ( const ( TimestampFormat = "2006-01-02T15:04:05-07:00" custodialEmailFormat = "unclaimed-custodial-automation+%020d@tidepool.org" + RoleCareTeamMember = "care_team_member" RoleClinic = "clinic" RoleClinician = "clinician" RoleCustodialAccount = "custodial_account" @@ -28,6 +29,7 @@ var custodialAccountRegexp = regexp.MustCompile("unclaimed-custodial-automation\ var validRoles = map[string]struct{}{ RoleBrokered: {}, + RoleCareTeamMember: {}, RoleClinic: {}, RoleClinician: {}, RoleCustodialAccount: {},