I am creating an app in kodular and I am looking for the rules of my DB to be secure and only allow authenticated users from the app to access only their data stored in "Users/UID of each user in the DB. What rules Could I use and what would I need to do in my app for these rules to work as I need them to?
I tried asking the AI for help but I couldn’t get the rules it gave me to work correctly. Could you help me? (I attach the rules that the AI provided me and a screenshot of the order of my database)