()
| 109 | } |
| 110 | |
| 111 | numericalCourses () { |
| 112 | if (!__guard__(this.get('includedCourseIDs'), x => x.length)) { return utils.courseNumericalStatus.FULL_ACCESS } |
| 113 | const fun = (s, k) => { |
| 114 | return s + utils.courseNumericalStatus[k] |
| 115 | } |
| 116 | return _.reduce(this.get('includedCourseIDs'), fun, 0) |
| 117 | } |
| 118 | |
| 119 | revoke (user, options) { |
| 120 | if (options == null) { options = {} } |
no test coverage detected