From ff36f5dfc51c0511d5b80295432678d945e22f35 Mon Sep 17 00:00:00 2001 From: Kaushal Shriwas <64089478+kaulith@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:50:52 +0530 Subject: [PATCH] fix: show workspace sidebar with no module to all users --- frappe/boot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/boot.py b/frappe/boot.py index 5ea9235b18..3d73e66d19 100644 --- a/frappe/boot.py +++ b/frappe/boot.py @@ -562,8 +562,9 @@ def get_sidebar_items(allowed_workspaces): sidebar_doc = sidebar if ( frappe.session.user == "Administrator" - or sidebar_doc.module in sidebar_doc.user.allow_modules or sidebar_title == "My Workspaces" + or not sidebar_doc.module + or sidebar_doc.module in sidebar_doc.user.allow_modules ): sidebar_items[sidebar_title.lower()] = { "label": sidebar_title,