
A simple scenario:
- I have 2 collections with a 1 way relationship. "screens" -> "configs"
- The relationship is configured to set NULL on delete.
- From a web app I'm logging in using the google auth provider, My use has been given the label "TestAdmin"
- Both collections have a permission set to allow all by label
- The user can create and update documents in either collection.
- Deleting any document results in "The current use is not authorized to perform the current action"
I would expect with the user having all permissions then I should be able to delete documents?
TL;DR
Developers are experiencing issues deleting documents despite having all permissions with labels properly set up. Ensure that the label in question matches what is being referenced in the permission settings. Additionally, check the relationship configuration to ensure it is not restricting the delete action.
what do you mean with: allow all by label
?
label:all
? or label:TestAdmin
?
Recommended threads
- Data Diet Needed
I love the nested related data... but can we request limited data? I think my requests need to go on a diet. I return my courses, and the units all come with th...
- Issue in Accessing Cloud from Pakistan
Earlier today I faced an issue accessing cloud services but later on VPN fixed it. Now even with vpn I can't access cloud. When my App tries to create a docume...
- Appwrite Cloud Ui and Server Crashes rep...
I am having trouble with Appwrite cloud and server crashes and Ui crashed repeatedly. Raised a GitHub issue as well. https://github.com/appwrite/appwrite/issues...
