HI,
i am trying to enable any user or guest to see a tracking URL by accessing a specific URL of my frappe instance.
the Problem is that in order to resolve the tracking url, the server need to read some protected documents. I was wondering if it’s possible to allow limited access only through specific endpoint/method.
-
adding
@frappe.whitelist(allow_guest=True)
decorator does not help because the server return an error when trying to request the protected doc -
I also tried to swap user within the method using
frappe.set_user
method with a pre defined user with limited access but i am getting an error ‘User Note Found’
someone could help please.