User Roles & Permissions¶
MessWala has three user roles, each with specific permissions and responsibilities. Understanding your role is key to using MessWala effectively.
๐จโ๐ผ Admin Role¶
What is an Admin?¶
Admins are system administrators responsible for: - Initial mess setup and configuration - User approval and management - System maintenance - Full access to all features
Permissions¶
| Feature | Permission | Details |
|---|---|---|
| Dashboard | Full | View all analytics & user activity |
| Expenses | View & Edit | Can view all, add new, edit/delete own |
| Expenses Analytics | Full | Monthly trends, category breakdown, per-person costs |
| Attendance | View | See all member attendance |
| Attendance Analytics | Full | Patterns, rates, member details |
| Menu | View & Edit | Can create, update, delete menus |
| Feedback | View | See all feedback & ratings |
| User Management | Full | Approve, reject, edit, assign roles |
| Mess Configuration | Full | Set categories, meal times, mess info |
| System Settings | Full | Database, security, integrations |
| Reports | Full | Export any data as CSV/PDF |
First-Time Setup (Admin Only)¶
When an admin logs in for the first time, they must:
- Complete Setup Wizard:
- Mess name and description
- Contact information
- Expense categories
-
Meal time schedule
-
Verify Database Connection
- Check MongoDB connectivity
-
Verify configuration stored
-
Approve Initial Users
- Review pending registrations
- Accept or reject members
- Assign roles as needed
Admin Responsibilities¶
Daily Tasks¶
- โ Approve pending registrations
- โ Review expense submissions (optional)
- โ Monitor system health
- โ Respond to user issues
Weekly Tasks¶
- โ Review analytics reports
- โ Check attendance trends
- โ Approve expense reports
- โ Plan upcoming menus
Monthly Tasks¶
- โ Generate financial reports
- โ Audit fair share calculations
- โ Review feedback trends
- โ Planning next month
๐ Manager (Treasurer)¶
What is a Manager?¶
Managers handle financial and operational aspects: - Record and categorize expenses - Create and manage menus - View analytics and reports - Support admin in day-to-day operations
Permissions¶
| Feature | Permission | Details |
|---|---|---|
| Dashboard | Limited | View summaries & trends |
| Expenses | Full | Add, edit, view all, delete own |
| Expenses Analytics | Full | All trends, reports, per-person costs |
| Attendance | View | See attendance records |
| Attendance Analytics | Full | View patterns & detailed reports |
| Menu | View & Edit | Create, update, delete menus |
| Feedback | View | See all feedback |
| User Management | View | List all users, see status |
| Mess Configuration | Edit | Cannot change (admin only) |
| System Settings | None | No access |
| Reports | Full | Export expense & attendance data |
Manager Responsibilities¶
Daily Tasks¶
- โ Record expenses (grocery, utilities, etc.)
- โ Categorize expenses properly
- โ Update menu if needed
- โ Monitor feedback
Weekly Tasks¶
- โ Review expense trends
- โ Plan next week's menu
- โ Check attendance rates
- โ Communicate with members
Monthly Tasks¶
- โ Generate expense report
- โ Calculate fair share per member
- โ Review attendance summary
- โ Plan next month's budget
Manager Key Features¶
Expense Tracking:
Go to Expenses page
โโ Add new expense
โโ Choose category
โโ Enter amount & description
โโ View all expenses
โโ Filter by date/category
โโ Export reports
Menu Planning:
Go to Menu page
โโ View current month
โโ Click Edit Menu
โโ Select day & meal time
โโ Enter dishes
โโ Add notes (spicy level, allergies, etc.)
โโ Save schedule
Analytics:
Go to Analytics page
โโ Expense breakdown (pie chart)
โโ Monthly trends (line chart)
โโ Fair share calculation
โโ Attendance rates
โโ Member participation
๐จโ๐ Student Role¶
What is a Student?¶
Students (residents/members) are: - Individual mess members - Mark their meal attendance - Provide feedback on meals - View shared information
Permissions¶
| Feature | Permission | Details |
|---|---|---|
| Dashboard | Limited | Personal overview only |
| Expenses | View | View all expenses, your fair share |
| Expenses Analytics | View | Monthly breakdown, trends |
| Attendance | Full | Mark own, view past |
| Attendance Analytics | View | View own attendance %, trends |
| Menu | View | View upcoming meals |
| Feedback | Full | Submit ratings & comments |
| User Management | None | No access |
| Mess Configuration | None | No access |
| System Settings | None | No access |
| Reports | None | No access |
Student Responsibilities¶
Daily Tasks¶
- โ Mark attendance for meals eaten
- โ View today's menu
- โ Check your fair share amount
Weekly Tasks¶
- โ Review attendance for the week
- โ Provide feedback on meals
- โ Check upcoming menu
Monthly Tasks¶
- โ Review your fair share calculation
- โ Pay your portion to appropriate person
- โ Review attendance rate
Student Key Features¶
Marking Attendance:
Go to Attendance page
โโ See today's meals:
โ โโ Breakfast (7:30 - 9:00 AM)
โ โโ Lunch (12:30 - 2:00 PM)
โ โโ Dinner (7:30 - 9:00 PM)
โโ Click Mark Present (if you ate)
โโ Click Mark Absent (if you didn't)
โโ View past attendance
Giving Feedback:
Go to Feedback page
โโ Select meal & date
โโ Rate 1-5 stars
โโ Add comments (optional):
โ โโ Taste
โ โโ Quantity
โ โโ Suggestions
โ โโ Allergen warnings
โโ Submit
Viewing Menu:
Go to Menu page
โโ See this week's schedule
โโ Check meal times
โโ Read dishes & descriptions
โโ Plan your participation
Understanding Fair Share:
Your cost = (Total expenses รท members who attended) ร your attendance
Example: - Total expenses: โน3000 - Members attended at least 1 meal: 10 - Your attendance: 7 out of 10 meals
Your share: (3000 รท 10) ร 7 = โน2100
๐ Role Upgrade/Downgrade¶
How to Get a Different Role¶
Student โ Manager: - Ask admins for role upgrade - Admins review your participation - Admins confirm responsibility - Your role changes immediately
Current Manager โ Student: - Admins can downgrade if needed - You lose manager permissions - Your data remains accessible - Clear handoff recommended
Any Role โ Admin: - Requires explicit admin action - Not usually granted to students - New admins need training - Discuss before granting
Requesting Role Change¶
- Contact your mess admin
- Explain why you need the upgrade
- Discuss responsibilities
- Admin approves and updates
Permission Matrix Summary¶
Feature Admin Manager Student
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Dashboard Full Limited Limited
Expenses (View) โ โ โ
Expenses (Add/Edit) โ โ โ
Attendance (Mark) โ โ โ
Attendance (View All) โ โ โ
Menu (View) โ โ โ
Menu (Edit) โ โ โ
Feedback (Submit) โ โ โ
Feedback (View All) โ โ โ
Analytics Full Full View
User Management โ โ โ
Mess Configuration โ View โ
System Settings โ โ โ
Reports Export โ โ โ
๐ Security per Role¶
Admin-Level Security¶
- Full audit log access
- Cannot be removed by other users
- All actions logged
- Special authentication required
Manager-Level Security¶
- Expense verification enabled
- Actions logged for audit
- Cannot change own role
- Permissions reviewed monthly
Student-Level Security¶
- Personal data encrypted
- Can only edit own records
- View-only access to shared data
- No system settings access
๐ Role Assignment Checklist¶
For Admins¶
When assigning roles, ask: - โ Does this person understand responsibilities? - โ Do they have the time commitment? - โ Are they trustworthy with financial data? - โ Have they been formally chosen by the mess? - โ Do others agree with the choice?
For Managers¶
Before accepting, confirm: - โ You understand expense tracking system - โ You can commit 1-2 hours weekly - โ You're comfortable with key-keeping/finances - โ You have backup support
โ Common Questions¶
Q: Can a student view other students' attendance? A: No. Students see only overall stats, not individual records.
Q: Can a manager approve users? A: No. Only admins can approve registrations.
Q: What if admin isn't available? A: Appoint a backup admin. Multiple admins can exist.
Q: Can I have multiple roles? A: No. Each user has one primary role.
Q: Do roles expire? A: No, unless admins change them.
Last Updated: March 17, 2026
Version: 2.0