Back

Realtime update not working if permission is added to document and new document is created

  • 0
  • Flutter
  • Realtime
Karthik
13 Dec, 2023, 07:57

i have given permission by team to a document and no permission is given in collection level. when new document is added to the collection i want a realtime update the users in that team (when adding a document i am giving permission by team). Currently i am not getting any realtime update when the document is created first. But when refresh flutter i am getting rest of the update. This there a way to solve this problem or am i missing something ?.

TL;DR
The user is experiencing an issue where realtime updates are not working when permissions are added to a document and a new document is created. They found that using a user ID instead of a team ID allows the updates to work. The user wants to know if there is a way to solve this problem or if they are missing something. Solution: It is advised to check if the permissions are properly set for the team and the document. Additionally, refreshing the platform (in this case, Flutter) seems to trigger the updates. It may be helpful to investigate the platform's documentation or seek support from the platform's community to find a more permanent solution.
Karthik
13 Dec, 2023, 09:31

i also find out that if i give userid instead of teamid its updating. when team is created and given permission updation not taking place till i refresh.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more