[CLOSED] Appwrite PHP SDK Document Permissions: Setting Read and Write Access
- 1
- Resolved
- Databases
- Functions
- Cloud
Would you please try removing your custom status codes?
I mean that after I send the payload in json format and execute it via appwrite console, if failes
Still failes
can you show the data you are sending to the function in the payload?
It works now, but is there any problem if after creating the document with the owner attribute different from my userId, I can delete it in Appwrite manually?
sure! The console user has full access to all the data
So should I change the function? Wont be any problem if I do it after creating the document with the owners attribute being different from my user id, right?
Are you working with the original poster on the same code?
No but its almost identical
I’ve been using the same method
please create a new post so that discussions don't get mixed up between two people
Im sorry its me sidney. Its my phone account. I switched devices and i forgot to mention it
ahhh ok
sooooo, honestly, i didn't quite understand this question
What is the right method to add permissions so only the owner(attribute of the document) can delete and update the document. I am using php sdk to create a new document.
you already have it so what's the problem?
Yes but after I execute the function in appwrite console, and sending the json payload with the owner attribute differente from my user id, I can still delete it. I wante to know if this is a problem or not?
you can delete it using the Appwrite Console?
Not in console, just in Appwrite at documents
what do you mean? maybe share a screenshot?
This is the Appwrite Console and you're logged in as a Console user who has full rights to everything in the project. This is not a problem
Okay, I just wanted to be sure. Thnks
[CLOSED] Appwrite PHP SDK Document Permissions: Setting Read and Write Access
Recommended threads
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...