# Copyright (c) 2026, cclohmar and contributors # For license information, please see license.txt def has_app_permission(): """Check if the current user has permission to see the Service Factory app icon.""" import frappe # All authenticated users with at least one role can see the app icon if frappe.session.user == "Guest": return False return True