Hi, i would like to create a document in a collection, and i would like to set up a permission so just the user who created the document can read it. This has to happen at registration. But i cant give the permission because there is no session yet. I cant create a session before this. What should i do?
TL;DR
Developers want to set up permissions in a collection so only the creator can read the document but are having trouble due to the lack of a session at registration. One solution is to generate a unique identifier for the user and link it to the document upon creation, allowing for access control without relying on sessions.