Add ability to require 2FA for specific roles (including Everybody) (#37701)

This commit is contained in:
Claire authored and GitHub committed 2026-02-11 14:34:09 +00:00
1 parent 3e1127d27b
commit dfe44bcaef
23 files changed
+184 -15

No files matched your search

+3
View File
@@ -802,6 +802,7 @@ en:
view_devops_description: Allows users to access Sidekiq and pgHero dashboards
view_feeds: View live and topic feeds
view_feeds_description: Allows users to access the live and topic feeds regardless of server settings
requires_2fa: Requires two-factor authentication
title: Roles
rules:
add_new: Add rule
@@ -2047,6 +2048,8 @@ en:
recovery_codes: Backup recovery codes
recovery_codes_regenerated: Recovery codes successfully regenerated
recovery_instructions_html: If you ever lose access to your phone, you can use one of the recovery codes below to regain access to your account. <strong>Keep the recovery codes safe</strong>. For example, you may print them and store them with other important documents.
resume_app_authorization: Resume application authorization
role_requirement: "%{domain} requires you to set up Two-Factor Authentication before you can use Mastodon."
webauthn: Security keys
user_mailer:
announcement_published:
+2
View File
@@ -164,6 +164,7 @@ en:
name: Public name of the role, if role is set to be displayed as a badge
permissions_as_keys: Users with this role will have access to...
position: Higher role decides conflict resolution in certain situations. Certain actions can only be performed on roles with a lower priority
require_2fa: Users with this role will be required to set up two-factor authentication to use Mastodon
username_block:
allow_with_approval: Instead of preventing sign-up outright, matching sign-ups will require your approval
comparison: Please be mindful of the Scunthorpe Problem when blocking partial matches
@@ -387,6 +388,7 @@ en:
name: Name
permissions_as_keys: Permissions
position: Priority
require_2fa: Require two-factor authentication
username_block:
allow_with_approval: Allow registrations with approval
comparison: Method of comparison