Access and safety

Who can open a site

Every site has one of these visibilities. Changing it is instant.

quick access launch                         # who can see it now
quick access launch team                    # everyone at the company (the default)
quick access launch only-me                 # only you
quick access launch add giulia@acme.com     # you and the people you choose
quick access launch remove giulia@acme.com
quick access launch code [--code abc12345]  # access code, generated if you don't give one
quick access launch code --code-only        # colleagues need the code too (locked sites)
quick access launch code --code-only=false  # colleagues get in, whatever the server's default
quick access launch public                  # anyone, no sign-in

Inside a folder linked to the site (it has a .quick file) you can drop the name: quick access only-me, quick access add giulia@acme.com.

Administrators (set on the server with QUICK_ADMINS) can see, open and manage every site, chosen-people and "only me" ones included, and can do on any site whatever its owner can: change who sees it, lock or unlock it, delete it, manage its tokens and domains, raise its size limit. The site's page in the dashboard names them.

If the settings can't be read, quick refuses a site's first publish and a code set without an explicit choice, rather than guessing a default that could leave the site more open.

Administrators also have a Settings page in the dashboard with the server's defaults. They apply when nobody chooses otherwise and never change existing sites:

quick publish, quick unpublish and quick private still work as shortcuts for public, team and code. The same choices are on the site's page in the dashboard; there, leaving the code field empty generates a random code.

Who can change a site

quick records who created each site and who published it last. A site exists from its first publish, so every site has an owner: before that, quick refuses to change who can see it, lock it or create deploy tokens for it. Only an administrator's size limit can be set ahead, for a big first publish. The server decides what owning means with QUICK_OWNERSHIP:

Mode Overwrite Delete, change visibility
free (default) anyone in the company anyone in the company
shared anyone in the company the creator only
owned the creator only the creator only

In any mode, the owner can lock a site:

quick lock launch     # from now on only you can overwrite or change it
quick unlock launch

A site limited to chosen people is stricter in every mode: only its owner changes who can see it or deletes it. Deploys follow the rules above, so on an unlocked site a colleague may publish to it without being able to open it; lock it if that matters. Such a colleague, and any deploy token, always uploads the whole folder instead of only the changes, and the site's tokens and custom domains stay hidden from people who can't open it.

When the last deploy of a site was by someone else, the CLI asks you to type the site name before replacing their work.

One deploy at a time

While someone publishes a site, another deploy of the same site (yours from another terminal too) and any rollback are refused with a message saying who and since when:

mario@… is publishing this site (since 14:02); retry in a moment or use --takeover

Rollback

quick rollback launch

Every deploy keeps the previous version. rollback swaps the two, so a second rollback restores what you just undid.

Publishing is atomic, on local disk and on S3 alike: the new version is written aside and becomes visible all at once. Visitors see the old version or the new one, never a mix. A deploy that fails leaves the site as it was.

Delete

quick delete launch

This removes the files and the settings of the site and cannot be undone. The CLI asks for confirmation; for a public or code-protected site you type its name.

This page as Markdown