Page MenuHomePhabricator

[lib/web/native] Show voiced_in_announcement_channels user-surfaced permission for all community types
ClosedPublic

Authored by rohan on Oct 17 2023, 9:29 AM.
Tags
None
Referenced Files
F3325208: D9514.id32787.diff
Wed, Nov 20, 5:19 AM
F3323328: D9514.diff
Wed, Nov 20, 3:34 AM
Unknown Object (File)
Thu, Nov 7, 9:19 PM
Unknown Object (File)
Thu, Nov 7, 9:19 PM
Unknown Object (File)
Thu, Nov 7, 9:19 PM
Unknown Object (File)
Thu, Nov 7, 9:19 PM
Unknown Object (File)
Thu, Nov 7, 9:19 PM
Unknown Object (File)
Thu, Nov 7, 9:18 PM
Subscribers

Details

Summary

When filtering out the user-surfaced 'voiced in announcement channels' permission when creating/editing roles, I didn't consider that we should always display this option because subchannels can be announcement threads. Now that they can be, I'm not going to filter this option out anymore.

Once ENG-5183 is resolved, this will mean that ticking this checkbox will allow users with the role to able to talk in all announcement channels (including the community root if it's an announcement thread).

This shouldn't require a migration since all it does is display the option in the permissions list client-side to be able to be toggled.

Resolves https://linear.app/comm/issue/ENG-5182/cant-see-voiced-in-announcement-channels-permission-when-editing-role

Depends on D9608

Test Plan

Please see the testing video below where I confirm in both announcement and non-announcement communities, the user-surfaced permission 'voiced in announcement channels' is shown:

Diff Detail

Repository
rCOMM Comm
Branch
ENG-5182
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

rohan requested review of this revision.Oct 26 2023, 9:27 AM
rohan edited the summary of this revision. (Show Details)
rohan edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Oct 26 2023, 10:48 AM
This comment was removed by rohan.

Revert changes (updated wrong diff)