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
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
Unknown Object (File)
Thu, Nov 7, 9:10 PM
Unknown Object (File)
Thu, Nov 7, 7:32 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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)