From 556c6dff21a4da360bd8c08dd9a0714f04fc89dd Mon Sep 17 00:00:00 2001 From: lostlevels Date: Wed, 13 Dec 2023 08:55:56 -0800 Subject: [PATCH] Add care team member role. --- 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: {},