Page MenuHomePhabricator

[keyserver] Fix memberOfContainingThreadPromise behavior for users missing in DB
ClosedPublic

Authored by ashoat on Mar 24 2024, 7:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 7:58 AM
Unknown Object (File)
Sun, Nov 3, 8:19 AM
Unknown Object (File)
Sat, Nov 2, 10:04 AM
Unknown Object (File)
Fri, Nov 1, 11:12 PM
Unknown Object (File)
Fri, Nov 1, 11:12 PM
Unknown Object (File)
Fri, Nov 1, 11:12 PM
Unknown Object (File)
Fri, Nov 1, 10:54 PM
Unknown Object (File)
Fri, Oct 25, 5:22 PM
Subscribers

Details

Summary

If a containing thread exists, then everybody should be either a member or non-member. If no row is found for them in the DB, they should be considered a non-member.

This solves ENG-7384. More details there.

Test Plan

Confirm that the thread creation now fully errors out, and returns an invalid_credentials ServerError

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable