AppwriteException: The current user is not authorized to perform the requested action.
- 0
- Databases
- React Native
- Cloud
Attempting to delete a document from a collection, and having the following error returned:
AppwriteException: The current user is not authorized to perform the requested action.
There are no document-level permissions set. It's my understanding that document level permissions are inherited from collection level permissions, which I've set true for all CRUD operations for the User role.
Document security on all collections is disabled.
The document that I'm trying to delete was created by the same user, and so the user has the ability to create and update the document. There's another collection that is exactly the same in terms of permissions and configuration, and the user is able to create and delete documents in that collection without any problem.
The problematic collection is one setup with relationship attributes to other collections - and the referenced collections have the same permission configuration - CRUD for all users.
What could be the problem?
Btw, the relationship attribute delete behaviour is set ID to NULL on delete.
changing to cascade for all relationships also doesn't work.
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...