Skip to content

Commit

Permalink
[BACK-2785] Add care team member role to help for fake child account …
Browse files Browse the repository at this point in the history
…migration.
  • Loading branch information
lostlevels committed Apr 30, 2024
1 parent a5c9ff2 commit 7eda45c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -28,6 +29,7 @@ var custodialAccountRegexp = regexp.MustCompile("unclaimed-custodial-automation\

var validRoles = map[string]struct{}{
RoleBrokered: {},
RoleCareTeamMember: {},
RoleClinic: {},
RoleClinician: {},
RoleCustodialAccount: {},
Expand Down

0 comments on commit 7eda45c

Please sign in to comment.