Hide the My Lessons menu for users who already see Scheduler #85

Closed
opened 2026-07-22 14:10:12 +00:00 by thatguygriff · 0 comments
Owner

Follow-up demo feedback (2026-07-22).

The Scheduler and My Lessons wp-admin pages look nearly identical — they render the same template; Scheduler shows all instructors' lessons (view_all_lessons) while My Lessons shows only the logged-in instructor's. For an owner-operator studio (admin + instructor in one person) the two menu items show the same data twice.

Wanted

Keep both pages, but don't register the My Lessons menu item for users who can already see Scheduler (view_all_lessons) — Scheduler is a superset, including the per-lesson HST / e-transfer edit forms. Instructors without view_all_lessons keep My Lessons unchanged.

**Follow-up demo feedback (2026-07-22).** The **Scheduler** and **My Lessons** wp-admin pages look nearly identical — they render the same template; Scheduler shows all instructors' lessons (`view_all_lessons`) while My Lessons shows only the logged-in instructor's. For an owner-operator studio (admin + instructor in one person) the two menu items show the same data twice. ## Wanted Keep both pages, but don't register the **My Lessons** menu item for users who can already see **Scheduler** (`view_all_lessons`) — Scheduler is a superset, including the per-lesson HST / e-transfer edit forms. Instructors without `view_all_lessons` keep My Lessons unchanged.
thatguygriff added the enhancement label 2026-07-22 14:10:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Unsupervised/unsupervised-scheduler#85