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 Dec 19, 2023
1 parent 2c81e88 commit dd05467
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 dd05467

Please sign in to comment.