Page MenuHomePhabricator

[keyserver] Update `rawThreadInfoFromServerThreadInfo` to support `minimallyEncodePermissions` option
ClosedPublic

Authored by atul on Dec 10 2023, 7:22 PM.
Tags
None
Referenced Files
F1716766: D10286.id34613.diff
Wed, May 8, 2:19 AM
Unknown Object (File)
Mon, May 6, 6:02 PM
Unknown Object (File)
Mon, May 6, 5:18 PM
Unknown Object (File)
Mon, May 6, 3:12 PM
Unknown Object (File)
Thu, May 2, 4:19 AM
Unknown Object (File)
Mar 5 2024, 3:15 PM
Unknown Object (File)
Mar 5 2024, 3:15 PM
Unknown Object (File)
Mar 5 2024, 3:15 PM
Subscribers
None

Details

Summary

This is the diff that finally allows keyserver to send the new "minimally encoded" permissions to new clients.

We introduce minimallyEncodePermissions option, which for now will be set to NATIVE FUTURE_CODE_VERSION. Once we have a version of client that fully supports minimally encoded permissions, we will update this setting.


Depends on D10285

Test Plan
  1. Will set breakpoint in keyserver and ensure that rawThreadInfos are constructed as expected.

642b40.png (2×2 px, 531 KB)

  1. Will check Redux dev tools on corresponding client to ensure that minimally encoded permissions appear as expected.
  2. Will play around with the native app and make sure that permissions checks continue to behave as expected.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Dec 10 2023, 7:22 PM
This revision is now accepted and ready to land.Dec 11 2023, 7:26 AM