Hello!
How do I handle this situation
- I have 2 client apps one for consumers and one for creators
- They basically have labels: "consumer" or "creator"
- There's a collection where content is created
- The documents in this collection have document security, so basically the creator can perform CRUD on there on content
- I've added a permission on the content collections which has read permission on "consumer" label, so that all consumers can basically view all creators content.
But let's say a creator decides to login into the consumer app and it gives them the "consumer" label and they log back into the creator app, they'd basically be able to view everyone's content even for other creators, of course they wouldn't be able to do update or delete them, but they'll be able to see other creators content in their editor
How can I solve this?
Multiple Roles or Types
Recommended threads
- Can't Login to Cloud Account
Dear <@870607367597850624> I used one of my Email account (hassanmrwt@gmail.com) for Cloud but that is not in my access now. System is prompting me to verify E...
- Function scheduling is not functional on...
Hello everyone! I'm using Appwrite Cloud and I have a function that runs every day at 00:00 UTC. Preciously it worked fine, but it didn't fire last night and i...
- CORS error only on tables db api After u...
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, g...