So I have jumped around multiple posts to understand how get my data set to filter properly.
I have values that would be manually created and updated by the admins. And I need to set it up, so the users can access what belongs to them without being able manipulating it or see ones that don’t belong to them.
I got a mess of code here as I can’t get the filter to work with variables. If some can please help me understand what to do.
Here is my code:
import wixUsers from ‘wix-users’;
import wixData from ‘wix-data’;
While I can get the information to show up on the table, I can’t get it to filter it properly.
I also can’t tell if I am actually getting the current login user’s email.