Users and groups
Accounts, groups and invitations are managed under Administration, which you open from the account menu (your picture in the header). Every change here is recorded in the audit log.
Hearth asks for your password again before admin actions and security
changes ("Confirm your password"). The confirmation lasts 30 minutes by
default (CONFIRM_MINUTES). If you signed in through your organisation's
provider and have no Hearth password, the dialog offers "Confirm with"
and the provider's name instead.
Kinds of account
- Members are the people of your organisation. They have their own files, mail, calendar and the rest, and can share.
- Admins are members with access to Administration.
- Group admins are members who may invite people into the groups they manage. They see Administration with the Invitations section only.
- Guests are people from outside. They sign in with a code mailed to their address, never a password, see only what is shared with them, and cannot share on, sync or use the Copilot.
A guest is made when someone shares with an outside address, or by an
admin (below). A guest who has not signed in for 180 days is switched
off, and whoever shared with them is told (GUEST_IDLE_DAYS; 0 turns
this off).
Inviting people
An invitation is the usual way to add someone: they choose their own username and password, so you never have to pass a password on.
- Go to Administration, Invitations, and select Invite.
- Type the person's email address and, if you like, their name.
- Tick the groups they should join.
- Under Valid for, choose 1, 3, 7, 14 or 30 days (7 is the default).
- Select Send.
The person receives a mail with a link that works once. When they open it, they choose a username and a password and arrive signed in. If a security policy requires two-factor sign-in for them, they set it up straight away, with no grace period.
Open invitations are listed with their groups and when they end. Use the row's menu to:
- Resend: send a new link, valid for the same number of days from now. The old link stops working.
- Revoke: withdraw the invitation.
A few rules keep invitations safe:
- Inviting needs outgoing mail (Mailboxes and mail). Without it, Hearth refuses with "Sending mail is not set up".
- An address that already has an account is refused, and nothing is mailed to it.
- Addresses that cannot receive mail (placeholders such as
user@example.com) are refused. - The link's secret is after
#in the address, so it never reaches server or proxy logs. Hearth keeps only a hash of it. - Every link that cannot be used reads the same to the visitor: "This invitation can no longer be used".
A group admin can invite only into their own groups, and each invitation must name at least one of them.
If Mailboxes are switched on, the new member also gets a Hearth Mail mailbox when they accept (Mailboxes and mail).
Creating an account by hand
Use this when the person cannot receive mail, or for service accounts.
- Go to Administration, Users, and select New user.
- Type a username (letters, digits and
. _ @ -, starting with a letter or digit), and optionally a display name and an email address. - A strong password is filled in for you. Select the key button for a new one, or type your own of at least ten characters.
- Under Account, choose Member or Guest. For a member, tick Admin to make them an administrator.
- Tick their groups and select Create.
- Copy the username and password from the "User created" dialog and pass them on safely. Select Done.
The same can be done on the server. The password is read from standard input:
docker compose exec -T hearth /hearth user create --username jsmith \
--email jsmith@example.org --display-name "Jane Smith" < password.txt
Add --admin for an administrator or --guest for a guest.
Changing an account
Go to Administration, Users. Type in Search users to find someone by name, username or address. Each row shows badges: Admin, Guest, Disabled and 2FA (two-factor sign-in set up), and when the person last signed in. Select a person to open their dialog.
Disabling and enabling
Turn on Disabled to stop someone signing in by any means. Their sessions and sync devices end at once, but nothing of theirs is deleted. Turn it off again to let them back in. You cannot disable yourself or the last admin.
An account linked to your organisation's provider can also be disabled by the provider (Sign-in).
Admin rights
Turn Admin on or off. Guests cannot be admins.
Groups
Tick or untick the groups the person belongs to. Groups that follow your provider's claims are set again at their next sign-in (Sign-in).
Quota
Type a limit in GB next to Quota and select Save. Leave the field empty for no limit. The line shows how much the person uses now. A quota covers the person's own files; a space's libraries have quotas of their own (see Spaces below).
Resetting a password
- Next to Password, select Reset. A new random password is shown.
- Copy it and select Set password.
- Pass it on safely. The person can change it in Settings, Password.
Resetting two-factor
When someone has lost every second factor, select Reset next to Two-factor and confirm. Their authenticator app, passkeys and backup codes are removed. If a policy requires two-factor for them, their next sign-in goes straight to the setup step, with no grace period.
This is the only way back for a person who lost their second factor. Check who is asking before you do it.
Wiping a lost device
Select Wipe next to Devices when a person's phone or laptop is lost or stolen. Hearth then:
- ends every session: browsers, the phone and desktop apps, web views;
- removes every sync device and app password;
- marks the apps' sessions as wiped, so an app that connects again with its old sign-in deletes Hearth's data on the device before anything else.
A device that never comes online again is protected only by its own encryption and screen lock. People can do the same for themselves under Settings, Sessions, "Wipe all my devices".
Deleting an account
Select Delete user and confirm. This removes the account with its files, versions, previews, trash, shares and sessions. It cannot be undone.
- You cannot delete yourself, or the last admin.
- An account under a legal hold cannot be deleted until the hold is released.
- If Mailboxes are on, the person's Hearth Mail mailbox is locked at once and deleted after the number of days set there.
On the server:
docker compose exec hearth /hearth user delete --username jsmith
Groups
Groups collect people for sharing, security policies, invitations and mapping from your organisation's directory.
- Go to Administration, Groups.
- Type a Group name and select Create.
Add people to a group from their user dialog (above), from an invitation, or through your directory (SCIM).
Select a group to open it. There you can:
- rename it (type the new name and select Rename);
- see its members, and turn on Group admin for the people who may invite into it;
- delete it with Delete group. The people stay; only the group goes.
Groups are an admin's tool. People also make teams of their own in Hearth; those are separate from groups.
Spaces
Administration, Spaces lists every space with its managers and its libraries' size and quota. Open a space to set its libraries' quotas, add a manager (for a space whose managers have left), or delete a space that belongs to no team.