You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the current last-updated-by authors field, we should have an array field authorized that lists all specially authorized users either from authorship or from @mentions. Basically, whenever we update a message's body (and title?), we should update this array too. Then we can index by this array value (see #146) and efficiently find all messages that have special access, in addition to usual group access. This should simplify accessibleMessagesQuery in particular (and speed up the Mongo query).
The text was updated successfully, but these errors were encountered:
In addition to the current last-updated-by
authors
field, we should have an array fieldauthorized
that lists all specially authorized users either from authorship or from @mentions. Basically, whenever we update a message's body (and title?), we should update this array too. Then we can index by this array value (see #146) and efficiently find all messages that have special access, in addition to usual group access. This should simplifyaccessibleMessagesQuery
in particular (and speed up the Mongo query).The text was updated successfully, but these errors were encountered: