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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems