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)
Fri, Apr 26, 1:48 AM
Unknown Object (File)
Tue, Apr 16, 11:43 AM
Unknown Object (File)
Tue, Apr 16, 1:38 AM
Unknown Object (File)
Mon, Apr 15, 10:58 PM
Unknown Object (File)
Mon, Apr 15, 7:46 PM
Unknown Object (File)
Sat, Apr 13, 4:32 PM
Unknown Object (File)
Sun, Mar 31, 6:34 PM
Unknown Object (File)
Sun, Mar 31, 1:26 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