Page MenuHomePhabricator

[lib] Include Voiced permission blob for announcement channels
AbandonedPublic

Authored by rohan on Nov 9 2023, 8:19 AM.
Tags
None
Referenced Files
F2166067: D9804.id33017.diff
Tue, Jul 2, 3:15 AM
Unknown Object (File)
Mon, Jul 1, 10:11 AM
Unknown Object (File)
Sun, Jun 30, 11:37 AM
Unknown Object (File)
Fri, Jun 28, 11:25 AM
Unknown Object (File)
Wed, Jun 26, 1:08 PM
Unknown Object (File)
Thu, Jun 13, 7:37 AM
Unknown Object (File)
Wed, Jun 12, 9:43 PM
Unknown Object (File)
May 25 2024, 3:05 PM
Subscribers

Details

Reviewers
atul
ginsu
ashoat
Summary

For both COMMUNITY_OPEN_ANNOUNCEMENT_SUBTHREAD and COMMUNITY_SECRET_ANNOUNCEMENT_SUBTHREAD, we should include a Voiced permission blob. This should just be a union between the existing thread permissions blob and the voiced permissions blob. This is in an effort to correctly have the 'Voiced in announcement channels' user-surfaced permission allow users to speak in announcement channels.

Will add @ashoat as a reviewer for some diffs here since this is a solution we discussed in our 1:1

Addresses ENG-5634

Depends on D9901

Test Plan

Confirmed that subchannel creation still worked fine, and checked MariaDB to see for COMMUNITY_OPEN_ANNOUNCEMENT_SUBTHREAD and COMMUNITY_SECRET_ANNOUNCEMENT_SUBTHREAD, the Voiced role was also created.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rohan requested review of this revision.Nov 9 2023, 8:39 AM

This change makes sense, but we'll need to make sure we handle it in updateRoles, modifyRole, createInitialRolesForNewThread, etc. Assume you'll put those diffs up later and land them together with this one.

This revision is now accepted and ready to land.Nov 9 2023, 12:32 PM

Abandoning this for now since we're reconsidering the Voiced approach