Keeps the server and the client agreed on what each role may do. The server
enforces this table (api/lib/permissions.ts, api/routes/ws.ts) and the
client reads the same one to hide what a role can't do
(src/utils/auth/permissions.ts).
Usage
import * as mod from "shared/permissions.ts";