Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ isOwner
Method
isOwner
app/models/Classroom.js:477–479 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
475
}
476
477
isOwner () {
478
return
(me.id === this.get(
'ownerID'
)) || me.isAdmin()
479
}
480
481
getDisplayPermission () {
482
if
(this.isOwner()) {
Callers
8
getDisplayPermission
Method · 0.95
revokeStudentLicenses
Method · 0.95
fetchForClassroom
Method · 0.80
constructor
Method · 0.80
assignCourse
Method · 0.80
redeemUsers
Method · 0.80
redeemUsers
Method · 0.80
revokeUsers
Method · 0.80
Calls
2
isAdmin
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected