mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
The sidebar-ordering refactor in #1673 accidentally dropped the `notifications` entry from `defaultNavItems` and its `notifications:user_email` permission mapping, but kept the advanced-auth visibility gate that references that id. With no nav entry the id never enters the render set, so the /notifications page (route, page, and API all intact) became reachable only by typing the URL — users could no longer opt in/out of their own print email notifications from the menu. Restore both the defaultNavItems entry and the permission gate, matching the permission the user-email-preferences API actually requires (notifications:user_email, held by both default groups). Add comments so the entry isn't dropped again in a future sidebar refactor.