Page MenuHomePhabricator

[lib] Make `specialRoles` field of `RoleInfo` required
AbandonedPublic

Authored by atul on Mar 5 2024, 9:20 PM.
Tags
None
Referenced Files
F3528014: D11252.id37873.diff
Tue, Dec 24, 7:48 AM
F3528013: D11252.id37871.diff
Tue, Dec 24, 7:48 AM
F3527992: D11252.id.diff
Tue, Dec 24, 7:47 AM
F3527978: D11252.diff
Tue, Dec 24, 7:47 AM
Unknown Object (File)
Thu, Dec 5, 10:49 AM
Unknown Object (File)
Mon, Nov 25, 4:05 AM
Unknown Object (File)
Sun, Nov 24, 5:14 PM
Unknown Object (File)
Nov 21 2024, 12:37 AM
Subscribers

Details

Summary

We now expect clients to get RoleInfos with the specialRole field included. We make the field required (it's still ?SpecialRole, so can be set to null) and make the necessary flow changes.


Depends on D11248

Test Plan

flow + verifying that clients recieve specialRole field in RoleInfo from keyserver responses.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

fix else case of patchRoleInfoWithSpecialRole

atul requested review of this revision.Mar 5 2024, 9:51 PM
tomek added inline comments.
lib/types/minimally-encoded-thread-permissions-types.js
37

Maybe add an explicit null?

This revision is now accepted and ready to land.Mar 6 2024, 4:21 AM

We ended up going with a very different approach from this stack. Abandoning to tidy things up.