HomePhabricator
Diffusion Comm bf2371062015

[native] Prevent the only admin role from being changed

Description

[native] Prevent the only admin role from being changed

Summary:
Just like on web, we want to make sure the last remaining admin in a community cannot remove themselves from the role until someone else is assigned the Admins role

Depends on D8160

Test Plan:
Please see the video below that demonstrates this

Reviewers: atul, ginsu

Reviewed By: atul

Subscribers: ted, ashoat, tomek

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

Details

Provenance
rohanAuthored on Jun 13 2023, 5:53 PM
Reviewer
atul
Differential Revision
D8161: [native] Prevent the only admin role from being changed
Parents
rCOMM76cb245bec51: [native] Create a ChangeRolesHeaderRightButton to save role changes
Branches
Unknown
Tags
Unknown