Moss · Catalog

Anonymous visitors (public role)

Nobody signed in has the principal null, wears the single role public, and holds the catalog the charter grants that role. The role name is fixed: with a charter that has no public role the server still boots, and every request with no session then fails with Unknown role "public". Example: the theatre’s own charter names its visitor role guest.

Public role
{
  public: {
    actions: ['welcome', 'programme'],
    data: ['shows.read'],
  },
}
Calls
server.identity(null)
server.catalogOf(null)
Roles and catalog
[
  ['public'],
  { ids: ['programme', 'welcome'], hash: '1332037b' },
]
Error without a public role
Unknown role "public"
Output matches the expected value

Computed when this site was built, by the installed package, which does not run in a browser. The site’s checks recompute it on every change.