Hearth documentation

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

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.

  1. Go to Administration, Invitations, and select Invite.
  2. Type the person's email address and, if you like, their name.
  3. Tick the groups they should join.
  4. Under Valid for, choose 1, 3, 7, 14 or 30 days (7 is the default).
  5. 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:

A few rules keep invitations safe:

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.

  1. Go to Administration, Users, and select New user.
  2. Type a username (letters, digits and . _ @ -, starting with a letter or digit), and optionally a display name and an email address.
  3. 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.
  4. Under Account, choose Member or Guest. For a member, tick Admin to make them an administrator.
  5. Tick their groups and select Create.
  6. 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

  1. Next to Password, select Reset. A new random password is shown.
  2. Copy it and select Set password.
  3. 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:

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.

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.

  1. Go to Administration, Groups.
  2. 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:

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.