[CLOSED] Appwrite PHP SDK Document Permissions: Setting Read and Write Access
- 1
- 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
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...