Skip to content
Discussion options

You must be logged in to vote

@mbazs, thanks for your question! This is best handled by not allowing write access to the collection and making use of an Appwrite function to create the document. For example, in my project, instead of letting users create documents in the comments collection directly, I have this Appwrite function that does some validation before creating the document.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mbazs
Comment options

@amrouzamar
Comment options

Answer selected by mbazs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants