From 7f9e511cd832b265e6eb15715554137a5e4445be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Juvenal?= Date: Tue, 4 Feb 2025 11:00:54 -0300 Subject: [PATCH] Mention message deletion on README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 581a8d7..33f9340 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ The app implements a secure live chat system following Medplum's ["Organizing Co - Send chat messages by creating new `Communication` FHIR resources - Real-time message updates using Medplum WebSocket `Subscription` - Auto-update of message status: sent, received, read, directly on `Communication` FHIR resource + - Message deletion - **Media Support** - Image and video attachments @@ -113,6 +114,10 @@ NOTE: Login will not work yet, because Medplum's OAuth2 is not set. See the next EXPO_PUBLIC_MEDPLUM_NATIVE_CLIENT_ID=your_native_client_id ``` +### Configuring Access Policies (for production) + +The app implements message deletion functionality, which requires proper access control in production. You need to set up [Access Policies](https://www.medplum.com/docs/access/access-policies) in Medplum to ensure patients can only read/update/delete their own messages. + ### Testing Run the test suite: