
I'm building a web app and instead of using Appwrite Auth, I made my own custom auth system that stores user data in documents. I have a "Profile" page where logged-in users can update their username and password. The route is already protected — only authenticated users can access it. My question is: how do I make sure that only the owner of the profile (or someone with permissions) can update that specific document in the collection? Since I'm not using Appwrite's built-in users, I'm not sure how to handle document-level permissions properly in this case. What should i do?
Recommended threads
- mcp-for-docs not working properly
I'm experiencing issues integrating the MCP server tool with Cursor IDE. The MCP server connection establishes successfully initially but fails after one minute...
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
