RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.67k stars 10.66k forks source link

Role Two Factor Authentication #18573

Open ghost opened 4 years ago

ghost commented 4 years ago

Description:

  1. Enabling "Users must use Two Factor Authentication" makes accounts with this role and no 2fa enabled completely unusable without any warning. Enabling this setting should not be possible while users with this role do not have 2fa enabled.

  2. It is not possible to disable this setting once activated. This seems like a bug, otherwise the user should be warned and the checkbox be disabled.

Steps to reproduce:

  1. Go to /admin/permissions/admin/edit

Expected behavior:

Actual behavior:

image

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

ghost commented 4 years ago

Description can't be changed as well


Exception in template helper: isLoading@/app/authorization/client/views/permissionsRole.js:1:1758