HomePhabricator
Diffusion Comm db27cc19891a

[native] Show a menu button next to each role except admins

Description

[native] Show a menu button next to each role except admins

Summary:
To prepare for editing and deleting roles, we want to display a menu button next to each role except for admins. It's safe to check by name here since the Admins role cannot be renamed, but it's worth noting that a more sound check would be what is described in ENG-4155. For now though, I don't think it makes sense to
prioritize this and will be easy enough to update down the line once ENG-4155 is complete

Part of ENG-4367.

Depends on D8502

Test Plan:
Confirmed that the menu button displays for Members and custom roles, but not Admins

Simulator Screen Shot - iPhone 14 Pro - 2023-07-17 at 13.24.28.png (2×1 px, 153 KB)

Reviewers: atul, ginsu

Reviewed By: ginsu

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8522

Details

Provenance
rohanAuthored on Jul 10 2023, 1:43 PM
Reviewer
ginsu
Differential Revision
D8522: [native] Show a menu button next to each role except admins
Parents
rCOMMe092bcc39dcd: [keyserver/lib] Update the change_role message spec to include a role name…
Branches
Unknown
Tags
Unknown