Setup online_users view permissions
Head over to the Permissions tab under
online_users view to add relevant permissions.
Here in this view, we only want the user to be able to select data and not do any mutations. Hence we don't define any permission for insert, update or delete.
For Row select permission, choose
Without any checks and under Column select permission, choose both the columns
Save Permissions. You have completed all access control rules required for the realtime todo app.