Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Efficient access detection #149

Closed
edemaine opened this issue Feb 14, 2017 · 1 comment
Closed

Efficient access detection #149

edemaine opened this issue Feb 14, 2017 · 1 comment
Labels

Comments

@edemaine
Copy link
Owner

edemaine commented Feb 14, 2017

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).

@edemaine edemaine added this to the 6.849 milestone Feb 14, 2017
@edemaine edemaine added the speed label Feb 22, 2017
@edemaine edemaine removed this from the 6.849 milestone Aug 16, 2017
@edemaine edemaine mentioned this issue Jan 21, 2020
21 tasks
@edemaine edemaine mentioned this issue Jan 6, 2021
37 tasks
@edemaine
Copy link
Owner Author

Replaced by #503.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant