From fa9ffa98e500d8434fef5a8cea95b6818a875b59 Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 10 Feb 2026 13:17:37 +0000 Subject: [PATCH] fix: show settings cog on all services (use g.rights.admin) has_access('settings.home') checks for a coop-only endpoint that doesn't exist in market/cart/events services. Replace with g.rights.admin which is set by the shared user_loader across all services. Co-Authored-By: Claude Opus 4.6 --- suma_browser/templates/_types/root/_nav_panel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suma_browser/templates/_types/root/_nav_panel.html b/suma_browser/templates/_types/root/_nav_panel.html index d471bcc..a1a0528 100644 --- a/suma_browser/templates/_types/root/_nav_panel.html +++ b/suma_browser/templates/_types/root/_nav_panel.html @@ -1,5 +1,5 @@ {% import 'macros/links.html' as links %} - {% if has_access('settings.home') %} + {% if g.rights.admin %}