Skip to content

"Enable encryption in settings" should not be shown to users that are unable to modify room encryption #18646

@anoadragon453

Description

@anoadragon453

Steps to reproduce

  1. Join an invite-only room where you don't have permission to modify encryption settings.
  2. Be shown the following warning:

image

  1. Click "Enable encryption in settings"
  2. Find that the setting cannot be modified, as one does not have permission to do so.

What happened?

I became confoozed.

What did you expect?

The "Enable encryption in settings" link should not be shown if the user does not have permission to modify room settings.

Additionally, the text is a bit odd, as this occurred in a room with 4 other users; so this isn't really a private message. It's just an invite-only room.

Operating system

Arch Linux

Application version

Element Desktop 1.7.34

How did you install the app?

Arch Linux User Repository

Have you submitted a rageshake?

No

Metadata

Metadata

Assignees

Labels

A-E2EEA-TimelineO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectX-Needs-Design

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions