()
| 139 | } |
| 140 | |
| 141 | isInGodMode () { |
| 142 | const needle = this.constructor.PERMISSIONS.GOD_MODE |
| 143 | const needle1 = this.constructor.PERMISSIONS.ONLINE_TEACHER |
| 144 | return this.get('permissions', true).includes(needle) || this.get('permissions', true).includes(needle1) |
| 145 | } |
| 146 | |
| 147 | isSchoolAdmin () { |
| 148 | const needle = this.constructor.PERMISSIONS.SCHOOL_ADMINISTRATOR |
no test coverage detected