Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Conversation

@TorstenDittmann
Copy link
Contributor

@TorstenDittmann TorstenDittmann commented Aug 23, 2021

screencapture-appwrite-test-2080-docs-realtime-2021-08-24-15_01_30
screencapture-appwrite-test-2080-docs-realtime-2021-08-24-15_07_04

<div class="notice calm margin-top-large margin-bottom-large">
<h3>Permissions</h3>
<p>All subscriptions are secured by the <a href="/docs/permissions">permissions</a> offered by Appwrite, meaning a user will only receive updates to resources to which he has read permission.</p>
<p>Using a wildcard (<span class="tag">*</span>) on read permissions will allow any client to receive updates.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to change * to read:all after the db refactor

"payload": {
"$id": "[DOCUMENT_ID]",
"$collection": "[COLLECTION_ID]",
"$permissions": [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: we need to update this example after the DB refactor. $permissions will be replaced with $read and $write

<p>Nested Documents will not trigger events related to their parent documents. Meaning, updates to a child document - will not trigger an event for the parent document. But it will trigger an event for the child document itself.</p>

<h3>Server-Side?</h3>
<p>We currently are not offering access to realtime with Server SDKs and an API key.</p> No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we allow the use with a JWT key?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that will work out of the box 👍🏻

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we should probably mention that on the tutorial? at least say that only an api-key is not yet supported, or have a complete section for server side integration? maybe just an external tutorial?

TorstenDittmann and others added 8 commits August 24, 2021 11:42
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
@TorstenDittmann TorstenDittmann marked this pull request as ready for review August 24, 2021 11:59
@eldadfux
Copy link
Member

Would be great to also get a screenshot of the light mode.

Let's change the name on the tabs from Kotlin to Android to avoid a mixup with the server SDK.

@TorstenDittmann TorstenDittmann changed the title Feat realtime feat(realtime): add docs Aug 25, 2021
Copy link
Member

@lohanidamodar lohanidamodar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small query, rest looks good at the moment, will give another review once Flutter examples are added

@eldadfux
Copy link
Member

@TorstenDittmann do you think maybe we should add a section about authentication?

@TorstenDittmann TorstenDittmann merged commit 9f331ed into main Sep 2, 2021
@TorstenDittmann TorstenDittmann deleted the feat-realtime branch September 2, 2021 10:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants