HomePhabricator
Diffusion Comm 9fa20317fb62

[web] Prevent changing the only admin role in a community

Description

[web] Prevent changing the only admin role in a community

Summary:
We need to prevent the only admin from removing themselves as Admins in a community. Based on the designs, we should display an error in the modal indicating why the saved role changes failed.

https://linear.app/comm/issue/ENG-4041/prevent-changing-the-only-admin-role-in-a-community

Depends on D8200

Test Plan:
Please see the video below covering the cases of changing the only admin role

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: ted, ashoat, tomek

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

Details

Provenance
rohanAuthored on Jun 21 2023, 7:58 AM
Reviewer
atul
Differential Revision
D8141: [web] Prevent changing the only admin role in a community
Parents
rCOMM7e1519923e7d: [keyserver] Prevent the only admin role from being changed on the keyserver
Branches
Unknown
Tags
Unknown