Skip to content

Marks Lock ​

exam.marks_lock · every change is kept in the audit log

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
examexamlink → exam.examrequired
collegecollegelink → core.college
componentcomponentselectrequired; one of: Internal, External
is_lockedis lockedcheckdefault false
is_exam_form_lockedis exam form lockedcheckdefault false

Unique together: exam + college + component

Permissions ​

RoleCan
exam:super_adminread, create, update, delete
exam:adminread, create, update
exam:collegeread, create, update — only rows in the user's scope (via college)

API ​

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

Edulab Bench developer documentation