ssc-half-light / .github

Half light social network
https://www.bicycle.codes/halflight
0 stars 0 forks source link

Default query should respect read permissions #62

Closed nichoth closed 1 year ago

nichoth commented 1 year ago

the scenario

You make a new account by accepting an invitation. The problem is that the app will try to read posts before you have accepted the shares.

Home view query needs to look at read permissions of the user.


This is another way of saying we need to revise the home query, so that it respects read permissions in the query

Only get posts by people with whom you have accepted their share.

nichoth commented 1 year ago

For the sake of simplicity, we are adding audience members to the audience doc.

check for new audiences When a user opens the app, need to

See this page for info on requesting deltas.

see Range operator

nichoth commented 1 year ago
nichoth commented 1 year ago

the query


How do we know if you have accepted a given shareId? Could just try reading the path, and see if it errors. Could check if the friend's directory exists in the Shared with me path.