element-hq / element-hq/element-web

Add verification when changing own role in Roles & Permissions

Open
#25,356 2 comments 3 reactions 0 assignees View on GitHub
A-Power-Levels O-Uncommon S-Major T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### Add some form of confirmation when changing own role in Roles and Permissions

Currently, it is very easy to accidentally change your role from Admin to one with lesser permissions by selecting a role from the dropdown menu. This is applied instantly with no confirmation. This can very easily leave rooms or servers with no admin.

![image](https://github.com/vector-im/element-web/assets/15036094/7de340d6-0781-4a0b-9657-9e1a0a2aa671)

### Have you considered any alternatives?

This could be easily fixed by having to confirm the action with either a dialogue box or Save button, similar to that used when changing Room details.

![image](https://github.com/vector-im/element-web/assets/15036094/9df75c55-3176-43ee-855c-c5d30934a307)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.