MCPcopy Create free account
hub / github.com/codecombat/codecombat / showGoogleClassroom

Method showGoogleClassroom

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

Source from the content-addressed store, hash-verified

1488
1489 // google classroom flags for new teacher dashboard, remove `useGoogleClassroom` when old dashboard disabled
1490 showGoogleClassroom () { return !(features?.chinaUx != null ? features?.chinaUx : false) && !me.isCodeNinja() }
1491 googleClassroomEnabled () { return (me.get('gplusID') != null) && !me.isCodeNinja() }
1492
1493 // Block access to paid campaigns(any campaign other than CH1) for anonymous users + non-admin, non-internal individual users.

Callers

nothing calls this directly

Calls 1

isCodeNinjaMethod · 0.80

Tested by

no test coverage detected