when using get_doc() giving error “User Guest does not have access this document” even after giving read permission to Guest user in Role Permission Manager
what can be alternative approach
@Vinay1 is the first one running fine when you used get_list ? which one is causing the error ?
I think it’s the first one indeed.
@bahaou same here, is there any other way to get an document form a doctype other than get_doc() or where can we find code for get_doc() in frappe github
@Vinay1 get_list can get all the data you need for , add fields=[“name”,“expiry_time”] or [“*”] to get all the data you need in single call .
second observation: you trying to edit the doctype which you don’t have access to do .
third: what you doing is so dangerous and easy to bypass , I can open and see all the tokens and chose one to use . remove all the guest permissions and try to find another way
and hide your personal info like url when you publish in the forum