Navigation & Permissions
Workflow: Permission Alignment (Priority 1)
1
Remove Billing
View Invoice permission
→
2
Update Sidebar
Hide invoice menu
→
3
Add Tutor Menus
Students, HW, Scores, etc.
→
4
Grant Permissions
RolePermissionSeeder
❌ Current Teacher Sidebar
Menu
📊 Dashboard (generic)
Session Schedule
📅 Session List
🗓 Schedule Calendar
Invoices
📄 Generate Invoice ← SHOULD NOT APPEAR
📋 Invoice List ← SHOULD NOT APPEAR
Missing: Students, Homework, Scores, Messages, My Pay, Prep Hours
✅ Target Tutor Sidebar (Spec)
Menu
📊 Dashboard (tutor-specific)
Session Schedule
📅 Session List
🗓 Schedule Calendar
Tutor Tools
👨🎓 Students
📝 Homework
📈 Test Scores
💬 Messages
💰 My Pay
⏱ Prep Hours
✅ No billing/invoice items visible
Permission Matrix — Target State
| Permission | Current Teacher | Spec Requirement | Action |
|---|---|---|---|
| Session CRUD / Complete | Granted | Required | Keep |
| View Invoice | Granted | Must be hidden | Remove |
| Student Bulk Upload | Granted | Not in spec | Review |
| Student View | Not granted | Required (read-only) | Grant |
| Score Create / View | Not granted | Required (scoped) | Grant |
| Homework CRUD | Module missing | Required | Build + Grant |
| Prep Hours Submit | Module missing | Required | Build + Grant |
| View Own Pay | Module missing | Required (read-only) | Build + Grant |
| Messaging | Module missing | Required | Build + Grant |
Billing Visibility — Must Hide from Tutors
Currently Visible (Wrong)
- Invoice List in sidebar
- Hourly Cost on session detail
- Invoice Status on session list
users.hourly_rateused for client pricing display
Spec Requirement
- Zero billing visibility for tutors
- Tutor compensation via separate
tutor_ratestable - Server-side stripping of billing fields in API responses
- Remove View Invoice from RolePermissionSeeder
Clarified: Tutors must not see client billing (invoices, session charges to families). Tutors can see My Pay and their own compensation. See Billing Separation mockup.