Skip to content

Commit

Permalink
Add care team member role.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostlevels committed Dec 13, 2023
1 parent 2c81e88 commit 556c6df
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 556c6df

Please sign in to comment.