Add .well-known config option to force disable encryption on room creation (#11120)
* force disable encryption on room creation * test allowChangingEncryption * move into utils/room directory * tests * unit test CreateRoomDialog * remove debug * wait for constructor promises to settle * test case for force_disable * comment * set forced value after resolving checkUserIsAllowedToChangeEncryption * tidy and comments * use label text in test
This commit is contained in:
parent
9d9c55d92e
commit
a692fe2181
9 changed files with 375 additions and 9 deletions
|
@ -31,6 +31,13 @@ export interface ICallBehaviourWellKnown {
|
|||
|
||||
export interface IE2EEWellKnown {
|
||||
default?: boolean;
|
||||
/**
|
||||
* Forces the encryption to disabled for all new rooms
|
||||
* When true, overrides configured 'default' behaviour
|
||||
* Hides the option to enable encryption on room creation
|
||||
* Disables the option to enable encryption in room settings for all new and existing rooms
|
||||
*/
|
||||
force_disable?: boolean;
|
||||
secure_backup_required?: boolean;
|
||||
secure_backup_setup_methods?: SecureBackupSetupMethod[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue