From 1343a524337bbf0815bd0407ff282ac70e96c8eb Mon Sep 17 00:00:00 2001 From: Aysha Date: Tue, 10 Dec 2024 17:32:15 +0530 Subject: [PATCH] fix: amend condition to list wiki in /apps --- wiki/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/utils.py b/wiki/utils.py index 3d209e2a..114beabc 100644 --- a/wiki/utils.py +++ b/wiki/utils.py @@ -4,7 +4,7 @@ def check_app_permission(): """Check if user has permission to access the app (for showing the app on app screen)""" - if frappe.session.user != "Administrator": + if frappe.session.user == "Administrator": return True roles = frappe.get_roles()