5
Read-Only / Write Permissions for specific Fields in Documents
Source: appwrite/appwrite#2408 · opened by @SebastianTMo
As briefly mentioned on Discord, it would be great to have a read-only / write permission for specific fields in documents.
Right now - to restrict clients from changing the entire document - we have the following inconvenient options:
• completely removing the write permissions for a document and handle document updates via cloud functions
• combining a collection with write permission + cross reference to a collection with read-only permission
Possible use cases are timestamps (like Document created or Document updated) or fields, that should only be updated by a specific user (e.g. team admin).
Happy to hear your thoughts on this.
Right now - to restrict clients from changing the entire document - we have the following inconvenient options:
• completely removing the write permissions for a document and handle document updates via cloud functions
• combining a collection with write permission + cross reference to a collection with read-only permission
Possible use cases are timestamps (like Document created or Document updated) or fields, that should only be updated by a specific user (e.g. team admin).
Happy to hear your thoughts on this.
No pledges yet. Be the first to back this.
No comments yet.