repo
Permission to write records of collection (a scope part: scope), for all of actions unless only some
are given.
export const repo = (collection: string, actions?: ("create" | "update" | "delete")[]): string => `repo:${collection}${actions?.length ? `?${actions.map((a) => `action=${a}`).join("&")}` : ""}`