MCPcopy Index your code
hub / github.com/codecombat/codecombat / isBetaTester

Method isBetaTester

app/models/User.js:157–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 isBetaTester () {
158 const needle = this.constructor.PERMISSIONS.BETA_TESTER
159 return this.get('permissions', true).includes(needle)
160 }
161
162 isParentAdmin () {
163 const needle = this.constructor.PERMISSIONS.PARENT_ADMIN

Callers 5

hasAiJuniorAccessMethod · 0.95
fetchReleasedMethod · 0.80
getReleasedFunction · 0.80
getLatestCoursesMethod · 0.80
userIsBetaTesterMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected