Skip to main content
A self-hosted server has two layers of roles. The server role decides who runs the server: who creates teams and who removes people. The team role decides what someone does inside one team, as on tablepro.app.

Server roles

The owner is whoever opens the link bootstrap printed and signs in. Everyone else becomes a member at their first sign-in, unless the IdP’s admin group says otherwise. How someone becomes an admin depends on IDP_ADMIN_GROUP_ID:
  • Set. The IdP group decides, at each sign-in, and for OIDC at each check the server makes with the IdP. Someone with no groups is in no group. Server > Members shows the roles read-only, and a change in the group takes effect at the person’s next sign-in.
  • Unset. The owner chooses Make admin or Make member on Server > Members, and each change is audited. A sign-in keeps the role.
Setting IDP_ADMIN_GROUP_ID on a server that ran without it hands the choice to the group at each person’s next sign-in. The owner stays owner either way.

Replace the owner

When the owner can no longer sign in, run bootstrap --replace-owner as on Docker Compose or AWS. Whoever opens its link within the hour and signs in becomes the owner, and the owner before them a member.

Team roles

The owner or an admin of the server creates a team with Create a team… and becomes its owner. Inside each team: Owners and admins invite with Invite member…, an email address and a role, then Create invitation. The server sends no email: copy the link it shows and send it yourself. A link works for 7 days for whoever opens it with an account on this server. New link on a pending invitation replaces the earlier link. Every team member reads the library through their server seat. Teams have no seats of their own on a self-hosted server.

Seats

Each person takes one seat of the license at their first sign-in and keeps it until removed. A sign-in with every seat taken, or with no license installed, is refused. license status shows the seats taken; see License.

Remove someone

Removing someone from the IdP stops their sign-ins, but the seat and some credentials stay until they are removed on the server. An owner or admin opens Server > Members and chooses Remove from server… beside the person. That:
  • signs them out of the portal and every app, and they cannot sign in again until restored;
  • takes them out of every team, and makes the remover the owner of each team they owned;
  • revokes the team API tokens they created and the invitation links they were handed;
  • frees their seat.
Only the owner removes an admin, and nobody removes the owner or themselves. Restore… lets a removed person sign in again; their next sign-in takes a seat, and their teams are not given back.