Skip to content

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:

  1. Complete Setup Wizard:
  2. Mess name and description
  3. Contact information
  4. Expense categories
  5. Meal time schedule

  6. Verify Database Connection

  7. Check MongoDB connectivity
  8. Verify configuration stored

  9. Approve Initial Users

  10. Review pending registrations
  11. Accept or reject members
  12. 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

  1. Contact your mess admin
  2. Explain why you need the upgrade
  3. Discuss responsibilities
  4. 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