Running a website · Basics · 1:34 min
Users & roles, requiring 2FA
Compose your own role, create an account and require a second factor (app or passkeySign-in without a password: a key pair is stored on your device and unlocked with a fingerprint, face recognition or PIN. Passkeys are largely immune to phishing.fidoalliance.org (opens in a new tab)) per role.
Goal
Everyone gets their own account with exactly the permissions they need – secured with two-factor sign-inSign-in with two proofs, such as a password plus a six-digit code from an app (TOTP). Even if the password becomes known, the account stays protected.en.wikipedia.org (opens in a new tab).
Prerequisites
- Permission “users and roles” (default: administrators).
Step by step
Transcript: every step matches one subtitle in the video.
- System › Benutzer & Rollen (users & roles): everyone gets their own account. On the left: overview, people, invite & create, roles, sign-in & security.
- First a suitable role: “Rollen” (roles) › “+ Neue Rolle” (new role), enter a name and tick the permissions.
- Whatever is not ticked stays hidden for the role – e.g. no “Veröffentlichen” (publish).
- “Einladen & Anlegen” (invite & create): invite by email – or create directly with name, email, initial password (hand over in person) and role.
- “Anmeldung & Sicherheit” (sign-in & security): allowed methods – authenticator app, passkeys, passwordless sign-in.
- Choose the second factor per role – e.g. Redaktion (editors): “verlangt (App oder Passkey)” (required).
- “Übergangsfrist” (grace period): 0 days = set up at the next sign-in. Then “Speichern” (save).
- Those affected set up an app or passkey at their next sign-in. Network accounts always use 2FA.
Tips & pitfalls
Permissions for data tableStructured content such as team, events, products or references: entries with the same fixed fields that can appear on several pages – often with a detail page per entry. and requests can be restricted per table (“selected tables only”).
Lost your phone? Sign in with a recovery code, or reset 2FA on the command line (user:2fa-reset).
Do not share accounts – the log attributes changes to people.
The “Administration” role always has all permissions and cannot be restricted.