Simple KB

Pre-release. Simple KB's first release on PyPI is on its way: until it's out, installing it won't find it.

People and roles

Sign-in

skb serve runs in one of three modes:

  • local (the default): only this machine, as its single user.
  • proxy: behind a sign-in proxy that passes each person’s email in a header.
  • workos: people sign in through WorkOS.

Roles

Role May
reader search and read
contributor propose notes; a person may also write notes directly
reviewer approve or reject proposals (people only)
verifier verify pages (people only)
admin everything, including publishing and the write policy (people only)

Verifying and administering are for people: no token can carry them. In proxy mode, skb access grant gives a person a role on a base.

The audit log

Append-only: denied requests, tokens and agents granted or revoked, sign-ins, bases published, notes, proposals and verifications. skb audit shows it; skb usage totals what each base serves.