
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
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
- Images not showing up --
so i made this movie app - i hosted it successfully using appwrite but the images arent showing up --- https://movie-app-jsm.appwrite.network/ this is the movie...
