Hello how would you handle a row level security?
For example I have a projects table that has a ownerId and a second table called members that stores a user/project id How would you make it so only members could update the project?
I'm making a time tracking app so i store the following items:
Projects:
- title
- ownerId TimeEntries:
- start/end datetime
- projectId
- userId
I would like so only members could insert a time entry for a certain project
in my old backend code (expressJS) I just made sure that the user was inside of the members table
Recommended threads
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- How to determine if a user is anonymous?
This is probably a silly question, but I have not yet found a good answer. Is there a method to determine if the current session is anonymous aside from seein...