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

Method canAutoFillCode

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

Source from the content-addressed store, hash-verified

1480 useStripe () { return (!((features?.china != null ? features?.china : false) || (features?.chinaInfra != null ? features?.chinaInfra : false))) && (this.get('preferredLanguage') !== 'nl-BE') }
1481 canDeleteAccount () { return !(features?.china != null ? features?.china : false) }
1482 canAutoFillCode () { return this.isAdmin() || this.isTeacher() || this.isInGodMode() }
1483
1484 // Ozaria flags
1485 hasCinematicEditorAccess () { return this.isAdmin() }

Callers 1

onClickFillSolutionMethod · 0.80

Calls 3

isAdminMethod · 0.95
isTeacherMethod · 0.95
isInGodModeMethod · 0.95

Tested by

no test coverage detected