Skip to content

Roles and permissions ​

What each role can do on each entity. Rows marked "only own" or "scope" are filtered by the core on every list, read, update and delete.

Roles ​

RoleDescription
hostel:adminUniversity hostel office: all hostels, masters, fee templates, seat quotas, staff assignment, settings
hostel:wardenRuns the hostels assigned to them: applications, allotment, counter booking, attendance, leave, guests, complaints, mess menu
hostel:accountsRead-only view of hostel fees, applications and reports; processes cancellation refunds
hostel:studentBrowses hostels, applies, selects a bed when allowed, pays, and raises leave, guest and complaint requests for themselves

Access by entity ​

Entityhostel:adminhostel:wardenhostel:accountshostel:student
Room Allotmentread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via room.hostel)readread — only own rows (via student)
Amenityread, create, update, delete, import, exportreadreadread
Hostel Applicationread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)readread, create — only own rows (via student)
Attendanceread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)read — only own rows (via student)
Hostel Cancellationread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)read, updateread, create — only own rows (via student)
Complaintread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)read, create, update — only own rows (via student)
Complaint Commentread, create, update, delete, import, exportread, create, updateread, create
Hostel Fee Headread, create, update, delete, import, exportreadreadread
Hostel Fee Templateread, create, update, delete, import, exportread — only rows in the user's scope (via hostel)readread
Guest Stayread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)readread, create — only own rows (via student)
Hostelread, create, update, delete, import, exportread, updatereadread
Hostel Amenityread, create, update, delete, import, exportreadreadread
Hostel Semester Ruleread, create, update, delete, import, exportreadreadread
Hostel Staff Assignmentread, create, update, delete, import, exportread — only rows in the user's scope (via hostel)
Leave / Gate Passread, create, update, delete, import, exportread, create, update — only rows in the user's scope (via hostel)read, create — only own rows (via student)
Mess Menu Itemread, create, update, delete, import, exportread, create, update, delete — only rows in the user's scope (via hostel)readread
Mess Planread, create, update, delete, import, exportreadreadread
Resident Profileread, create, update, delete, import, exportread, create, updatereadread, create, update — only own rows (via student)
Roomread, create, update, delete, import, exportread, update — only rows in the user's scope (via hostel)readread
Room Typeread, create, update, delete, import, exportread — only rows in the user's scope (via hostel)readread
Room Type Amenityread, create, update, delete, import, exportreadreadread
Seat Quotaread, create, update, delete, import, exportreadread
Seat Quota Planread, create, update, delete, import, exportread — only rows in the user's scope (via hostel)read

Edulab Bench developer documentation