Page MenuHomePhabricator

[keyserver] `filterThreadEditAvatarPermission` based on `codeVersion` check
ClosedPublic

Authored by atul on Apr 25 2023, 1:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 11, 4:37 AM
Unknown Object (File)
Sat, Sep 7, 8:14 PM
Unknown Object (File)
Sat, Sep 7, 8:14 PM
Unknown Object (File)
Sat, Sep 7, 8:14 PM
Unknown Object (File)
Sat, Sep 7, 8:12 PM
Unknown Object (File)
Sat, Aug 31, 9:54 PM
Unknown Object (File)
Sat, Aug 31, 4:46 PM
Unknown Object (File)
Tue, Aug 27, 7:46 AM
Subscribers

Details

Summary

We expect 213 to be the first native client with support for thread avatars. This diff will make sure EDIT_THREAD_AVATAR permissions are INCLUDED for clients >= 213 so the feature works properly.

Test Plan

Will make sure client threadInfos and keyserver threadInfos match up.

  1. Install old prod build (208?)
  2. Connect to "new" keyserver (ie keyserver after this diff is landed)
  3. Update to 213+ (which includes persist migration)
  4. Connect to "new keyserver and monitor state check mechanism

We expect that the migration will bring the client Redux state "up-to-date" (ie including EDIT_THREAD_AVATAR) and "new keyserver" will include EDIT_THREAD_AVATAR in threadInfos it computes for client... and they'll be consistent.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable