Skip to content

Teaching Allocation ​

lms.teaching_allocation · every change is kept in the audit log

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
facultyfacultylink → core.userrequired
subjectsubjectlink → core.subjectrequired
batchbatchlink → lms.batch
divisiondivisionlink → lms.division
cohortcohortlink → lms.cohort
semester_numbersemester numbernumbermin 1; max 12
collegecollegelink → core.collegerequired
is_approvedis approvedcheckdefault true
needs_correctionneeds correctioncheckdefault false
correction_messagecorrection messagelongtextmax 2000 characters

Unique together: faculty + subject + batch + division + cohort

Permissions ​

RoleCan
lms:adminread, create, update, delete
lms:college_adminread, create, update, delete
lms:hodread, create, update, delete
lms:facultyread — only own rows (via faculty)

API ​

http
GET    /api/lms/teaching_allocation?<field>=<value>&limit=100&offset=0
POST   /api/lms/teaching_allocation
GET    /api/lms/teaching_allocation/:id
PATCH  /api/lms/teaching_allocation/:id
DELETE /api/lms/teaching_allocation/:id

Edulab Bench developer documentation