You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No menu item is highlighted on asset pages for users without the Assets menu #2864
On asset pages, the navigation bar highlights Assets, as the pages set active_page = "assets". But Assets is only in the menu for admins, admin-readers and consultants (defaults.jinja). Every other user gets My Account instead (menu id accounts), so on an asset page, nothing in their menu is highlighted, and they can't see where they are.
Proposal: for users without the Assets item, highlight My Account on asset pages, as their assets are reached through it. Alternatively, the menu could tell active_page apart per user, e.g. by mapping assets to accounts when the Assets item is missing, so that each page keeps a single active_page.
Seen while reviewing #2706, as a user without admin rights.
Activity