HomePhabricator
Diffusion Comm ae32702ce681

[web] Add an option to edit and delete select roles

Description

[web] Add an option to edit and delete select roles

Summary:
This diff introduces the dropdown select options to edit a role and delete a role. The implementation of editing roles will come in the next diff, and the implementation of deleting roles will come in the following one. Here, all roles besides Admins can be edited (we don't have a better way to check for Admins than by name for now, once ENG-4155 is taken on, that will be the better way). Similarly, all roles besides Members and Admins can be deleted.

Part of ENG-4429 and ENG-4431.

Depends on D8597

Test Plan:
Confirmed that the options appear for each role as expected

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: ted, ashoat, tomek

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

Details

Provenance
rohanAuthored on Jul 27 2023, 12:56 AM
Reviewer
atul
Differential Revision
D8623: [web] Add an option to edit and delete select roles
Parents
rCOMMa2398d47ac08: [web] Introduce client-side error handling to prevent duplicate role names
Branches
Unknown
Tags
Unknown