Page MenuHomePhabricator

[web] Gate encrypted media uploads on Comm staff community
ClosedPublic

Authored by bartek on Apr 13 2023, 1:47 PM.
Tags
None
Referenced Files
F2169737: D7434.id25142.diff
Tue, Jul 2, 12:42 PM
Unknown Object (File)
Mon, Jul 1, 3:50 AM
Unknown Object (File)
Sun, Jun 30, 5:35 AM
Unknown Object (File)
Sat, Jun 29, 3:40 AM
Unknown Object (File)
Mon, Jun 24, 9:44 AM
Unknown Object (File)
Thu, Jun 13, 12:56 PM
Unknown Object (File)
Thu, Jun 13, 1:26 AM
Unknown Object (File)
May 30 2024, 12:38 PM
Subscribers

Details

Summary

Similiar to D7335 but for web.

Most of the component code passes threadID only so I had to add a separate selector for threadInfo.

Test Plan
  • In my local environment, created a community with ID from lib/facts/commStaffCommunity using the create-community script.
  • Sent a photo to that community
  • Sent the same photo to a chat in GENESIS community
  • Ensured that the uploads table has two new entries: one containing encryptionKey and the other one doesn't. (also looked at the thread column)
  • Created subchats and threads in both communities, repeated.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable