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)
Sat, Jan 11, 1:57 PM
Unknown Object (File)
Sat, Jan 11, 1:57 PM
Unknown Object (File)
Sat, Jan 11, 1:57 PM
Unknown Object (File)
Sat, Jan 11, 1:51 PM
Unknown Object (File)
Fri, Jan 3, 4:26 AM
Unknown Object (File)
Mon, Dec 30, 6:40 AM
Unknown Object (File)
Sat, Dec 28, 12:44 PM
Unknown Object (File)
Sat, Dec 28, 12:44 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