I try to create the method and use @frappe.whitelist(allow_guest=True) for fetch data from doctype to show to unlogged in user but I always get prompt Not Permitted.Thank you.
Oh sorry, I am confused.The problem is from i try to use frappe.get_list in get_context method.So how can i use it in get_context method? thank you.
frappe.get_list
checks the user permissions before fetching the results use the frappe.get_all
method instead
working now Thank you so much.