()
| 296 | isStudent () { return this.get('role') === 'student' } |
| 297 | |
| 298 | canUseRobloxOauthConnection () { |
| 299 | // No Roblox OAuth in classroom mode |
| 300 | return !this.isTeacher() && !this.isStudent() |
| 301 | } |
| 302 | |
| 303 | isTestStudent () { return this.isStudent() && (this.get('related') || []).some(({ relation }) => relation === 'TestStudent') } |
| 304 |