I want to delete a document as a user (which has document permissions including delete), the document has a relation (the user has also document permissions on that document including delete).
I keep getting AppwriteException: The current user is not authorized to perform the requested action.
The typescript code I use to delete the document:
export async function deleteDocument(id: string) {
return await databases.deleteDocument(
DATABASE_ID,
COLLECTION_ID,
id
);
}
Recommended threads
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- Provider not enabled in Dotnet project
# Bug Report: Appwrite .NET SDK `CreateOAuth2Token` → `project_provider_disabled` ## Issue Using **Appwrite .NET SDK (v3.1.0)**, `CreateOAuth2Token` for Googl...
- Stuck on project restoration after inact...
Hey there! My project was paused due to inactivity today. I tried to restore it, but it's completely stuck on the restoration process. Could someone please tak...