(user)
| 55 | return 'Anonymous' |
| 56 | }, |
| 57 | isSmokeTestUser (user) { return utils.isSmokeTestEmail(user.email) }, |
| 58 | isTeacher (user, includePossibleTeachers = false) { |
| 59 | if (includePossibleTeachers && (user.role === 'possible teacher')) { return true } // They maybe haven't created an account but we think they might be a teacher based on behavior |
| 60 | return ['teacher', 'technology coordinator', 'advisor', 'principal', 'superintendent', 'parent'].includes(user.role) |
nothing calls this directly
no outgoing calls
no test coverage detected