Skip to content

v0.31.0

Choose a tag to compare

@xgame92 xgame92 released this 11 Nov 21:22
7a6767d

The person who runs a server can now close sign-up and keep a list of who may make an account.
This release has four migrations, and nothing changes until the owner closes sign-up.

New

  • Who runs this server. Track now knows its server's owner: the oldest account that is a person,
    or on a new server the first account made. The owner gets a This server section on the account
    page. Changing anything there asks for a recent sign-in. If the owner deletes their account while
    sign-up is open, the next oldest person becomes the owner. ([#269])

  • Closed sign-up and the owner's list. The owner can close sign-up. Then an account can be made
    only by:

    • an address on the owner's list, or at a domain on it (@example.com covers that domain, not its
      subdomains); the list has notes, a search and room for 5,000 entries, and shows whether each
      entry has an account yet;
    • an address with a pending invitation to a workspace, as before;
    • if the owner turns on Trust for it, the OpenID Connect provider Track is set up with, such as
      Gateweave ID, which keeps its own list. GitHub is never trusted this way.

    Every way of making an account (password, GitHub, OpenID Connect, invitations) gives the same
    refusal, and says nothing about which addresses have accounts. The database holds any other path
    to the same rule. ([#269])

  • Ask for access. If SIGN_UP_REQUEST_URL is set to an https address, the sign-in page links to
    it while sign-up is closed. ([#269])

If you run your own

  • Nothing changes unless you close sign-up. Deploying applies migrations 0010 to 0013 and
    makes your oldest account the owner. Check that it's yours before you close sign-up. To hand the
    server to someone else, change owner_id in the deployment table.
  • The list holds addresses of people who may not have an account yet. It is personal data in
    your D1 database (sign_up_allow). Mention it in your own privacy notice. ([#269])
  • pnpm dev:seed needs sign-up open, since it signs its sample people up through the API.