-
Notifications
You must be signed in to change notification settings - Fork 1
ARCHITECTURE & FLOWCHARTS
Divyansh jamwal edited this page Jun 22, 2026
·
2 revisions
CMS Web relies on a role-based workflow to process maintenance complaints efficiently.
The system classifies users into distinct roles, each having specific privileges:
- Faculty: Submits departmental or residential complaints. Can comment, edit, or delete posts within a 30-minute window.
- Warden: Submits hostel-related complaints. Can comment, edit, or delete posts within a 30-minute window.
- Centrehead: Submits administrative/building-related complaints. Can comment, edit, or delete posts within a 30-minute window.
-
Admin (XEN, AE, JE):
- XEN (Executive Engineer): Oversees all pending posts, assigns Junior Engineers (JE), and manages post statuses.
- AE (Assistant Engineer): Reviews posts pending AE review and manages them.
- JE (Junior Engineer): Resolves assignments directly or reports progress.

Authentication is session or token-based, verifying credentials (login) and checking positions/roles on protected routes via custom Gin middleware.

The typical flow of a complaint from submission to closure:
-
Creation: Submissions by Faculty, Warden, or Centrehead default to the
Pending_XENstatus. -
Review/Assignment: The XEN reviews and delegates it to a Junior Engineer (
Pending_JE). -
Execution: The JE performs the work and updates the status to
Resolved_JE. -
Resolution: The complaint progresses through administrative checks (AE / XEN) until it reaches
ResolvedorClosed.

A quick matrix showing how request statuses transition between the Executive Engineer (XEN) and the Junior Engineer (JE):

How Assistant Engineers (AE) intervene in the verification process for specific complaints:
