I want to know, on what field of a doctype frappe is able to check if the logged in user is the creator of the record or not
My usecase is that I made a web page and when user submits the web page a new user and a record in ‘NHCP Users’ are created and the value of owner field for each record is ‘guest’ and because of this, after the user login and go to ‘NHCP Users’ doctype then the user is able to see all the users even though i gave ‘only if creator’ for the role and the user doctype in role permission manager
so i want to register users using a web page so for every doctype record created it will be guest user who created the record but when the user logs in and view the records of the doctype, only those records which are created by the user should be displayed
how can I do it