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

Function isMyProject

app/views/courses/ProjectGalleryView.js:92–94  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

90 return `/play/level/${(this.level != null ? this.level.slug : undefined)}?course=${(this.course != null ? this.course._id : undefined)}&course-instance=${(this.courseInstance != null ? this.courseInstance._id : undefined)}`
91 },
92 isMyProject (session) {
93 return session.creator === me.id
94 },
95 creatorOfSession (session) {
96 return _.find(this.users, { _id: session.creator })
97 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected