-
Notifications
You must be signed in to change notification settings - Fork 245
Description
It is assumed that the user needs to have m.room.join_rules and m.room.canonical_alias permission to show them the Security & privacy section.
However, there were cases found:
- when user was not shown this section, even if they had those permissions (depending on what the other permissions were, either the entire Settings was unavailable or just the Security & privacy section was unavailable).
- when the user was shown this section, even if they did not have those permissions.
The details of which permissions the user had and what the UI showed, can be find in this table.
Note 1: Above, the "user needs to have m.room.join_rules" (or any other permission) means the user effectively having this permission - e.g. regardless if a PL is assigned to m.room.join_rules directly or it is inherited via the state_default.
Note 2: During the testing it was noted even though user was PL25 and both m.room.join_rules and m.room.canonical_alias were also PL25 but state_default was PL50, then the user could change room access, however the room address was not shown. Therefore it should be checked if that is a bug in the code, or there is a 3rd permission that is needed to make this section work.